mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Rename a setViewer
call to setUser
to fix a fatal.
Summary: Fixes T2303. Test Plan: Rendered /uiexample/view/PhabricatorTimelineExample/ without a fatal Reviewers: chad, epriestley, btrahan Reviewed By: btrahan CC: aran, Korvin Maniphest Tasks: T2303 Differential Revision: https://secure.phabricator.com/D4387
This commit is contained in:
parent
be73558156
commit
58dcb00fd8
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ final class PhabricatorTimelineExample extends PhabricatorUIExample {
|
|||
|
||||
$anchor = 0;
|
||||
foreach ($events as $event) {
|
||||
$event->setViewer($user);
|
||||
$event->setUser($user);
|
||||
$event->setDateCreated(time() + ($anchor * 60 * 8));
|
||||
$event->setAnchor(++$anchor);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue