Get rid of deprecated API usage:
[grauphel.git] / templates / gui-note.php
index 2aa5a209a9a19f0171ac668aeaebd6b4b5fc31f6..bb8d03e282bdd910670dd3d47b6b6e4871169877 100644 (file)
@@ -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']; ?>