mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Minor fixes to maniphest feed/notification
Summary: Added `renderNotificationView()` abstract function to `PhabricatorFeedStory` base class. Fixed duplicate line in `PhabricatorFeedStoryManiphest` class. Fixed spacing/formatting in `ManiphestTransactionEditor`. Test Plan: No functional changes Reviewers: epriestley, btrahan Reviewed By: epriestley CC: allenjohnashton, ddfisher, aran, Korvin Differential Revision: https://secure.phabricator.com/D2698
This commit is contained in:
parent
c67f45734d
commit
284d7b6a46
3 changed files with 2 additions and 4 deletions
|
@ -28,6 +28,7 @@ abstract class PhabricatorFeedStory {
|
|||
}
|
||||
|
||||
abstract public function renderView();
|
||||
abstract public function renderNotificationView();
|
||||
|
||||
public function getRequiredHandlePHIDs() {
|
||||
return array();
|
||||
|
|
|
@ -70,7 +70,6 @@ final class PhabricatorFeedStoryManiphest
|
|||
|
||||
$view = new PhabricatorNotificationStoryView();
|
||||
|
||||
$view->setEpoch($data->getEpoch());
|
||||
$view->setTitle($this->getLineForData($data));
|
||||
$view->setEpoch($data->getEpoch());
|
||||
$view->setViewed($this->getHasViewed());
|
||||
|
|
|
@ -369,9 +369,7 @@ final class ManiphestTransactionEditor {
|
|||
array(
|
||||
$author_phid,
|
||||
$owner_phid,
|
||||
$actor_phid
|
||||
)
|
||||
),
|
||||
$actor_phid)),
|
||||
$task->getCCPHIDs()))
|
||||
->publish();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue