Page MenuHomePhabricator

D19560.diff
No OneTemporary

D19560.diff

diff --git a/src/applications/phriction/controller/PhrictionDocumentController.php b/src/applications/phriction/controller/PhrictionDocumentController.php
--- a/src/applications/phriction/controller/PhrictionDocumentController.php
+++ b/src/applications/phriction/controller/PhrictionDocumentController.php
@@ -254,7 +254,8 @@
PhrictionContent $content,
$slug) {
- $viewer = $this->getRequest()->getUser();
+ $viewer = $this->getViewer();
+
$view = id(new PHUIPropertyListView())
->setUser($viewer)
->setObject($document);
@@ -263,6 +264,10 @@
pht('Last Author'),
$viewer->renderHandle($content->getAuthorPHID()));
+ $view->addProperty(
+ pht('Last Edited'),
+ phabricator_datetime($content->getDateCreated(), $viewer));
+
return $view;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 7, 6:03 PM (2 w, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7341434
Default Alt Text
D19560.diff (816 B)

Event Timeline