diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2018-10-07 11:44:54 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2018-10-07 11:44:54 +0200 |
| commit | 076545376eb1ce47de2135373fb858db5a411e8c (patch) | |
| tree | f145250df7bbf0d9a937cdb4898d8410babc2a26 /templates/gui-note.php | |
| parent | 9e6dc3ebf5ec6cfbfd16fb095311635cc75fe637 (diff) | |
| download | grauphel-076545376eb1ce47de2135373fb858db5a411e8c.tar.gz grauphel-076545376eb1ce47de2135373fb858db5a411e8c.zip | |
Get rid of deprecated API usage:
- \OC_User
- \OCP\User
- \OCP\Util::formatDate
Resolves: https://github.com/cweiske/grauphel/issues/69
Diffstat (limited to 'templates/gui-note.php')
| -rw-r--r-- | templates/gui-note.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gui-note.php b/templates/gui-note.php index 2aa5a20..bb8d03e 100644 --- a/templates/gui-note.php +++ b/templates/gui-note.php @@ -14,7 +14,7 @@ <h1><?php echo ($_['note']->title); ?></h1> <p class="muted"> Last modified: - <?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?> + <?php p($_['date']->formatDate(strtotime($_['note']->{'last-change-date'}))); ?> </p> <div class="note-content"> <?php echo $_['note-content']; ?> |
