1
0
Fork 0
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:
Ricky Elrod 2013-01-10 09:51:26 -08:00 committed by epriestley
parent be73558156
commit 58dcb00fd8

View file

@ -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);
}