mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-02 02:40:58 +01:00
Remove an unused feed story class
Summary: This class is no longer used after D7370. Test Plan: `arc lint` and `arc unit` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11132
This commit is contained in:
parent
cfadc41459
commit
f1d343111f
2 changed files with 0 additions and 38 deletions
|
@ -1720,7 +1720,6 @@ phutil_register_library_map(array(
|
||||||
'PhabricatorFeedStoryPhriction' => 'applications/feed/story/PhabricatorFeedStoryPhriction.php',
|
'PhabricatorFeedStoryPhriction' => 'applications/feed/story/PhabricatorFeedStoryPhriction.php',
|
||||||
'PhabricatorFeedStoryPublisher' => 'applications/feed/PhabricatorFeedStoryPublisher.php',
|
'PhabricatorFeedStoryPublisher' => 'applications/feed/PhabricatorFeedStoryPublisher.php',
|
||||||
'PhabricatorFeedStoryReference' => 'applications/feed/storage/PhabricatorFeedStoryReference.php',
|
'PhabricatorFeedStoryReference' => 'applications/feed/storage/PhabricatorFeedStoryReference.php',
|
||||||
'PhabricatorFeedStoryStatus' => 'applications/feed/story/PhabricatorFeedStoryStatus.php',
|
|
||||||
'PhabricatorFile' => 'applications/files/storage/PhabricatorFile.php',
|
'PhabricatorFile' => 'applications/files/storage/PhabricatorFile.php',
|
||||||
'PhabricatorFileBundleLoader' => 'applications/files/query/PhabricatorFileBundleLoader.php',
|
'PhabricatorFileBundleLoader' => 'applications/files/query/PhabricatorFileBundleLoader.php',
|
||||||
'PhabricatorFileCommentController' => 'applications/files/controller/PhabricatorFileCommentController.php',
|
'PhabricatorFileCommentController' => 'applications/files/controller/PhabricatorFileCommentController.php',
|
||||||
|
@ -4895,7 +4894,6 @@ phutil_register_library_map(array(
|
||||||
'PhabricatorFeedStoryNotification' => 'PhabricatorFeedDAO',
|
'PhabricatorFeedStoryNotification' => 'PhabricatorFeedDAO',
|
||||||
'PhabricatorFeedStoryPhriction' => 'PhabricatorFeedStory',
|
'PhabricatorFeedStoryPhriction' => 'PhabricatorFeedStory',
|
||||||
'PhabricatorFeedStoryReference' => 'PhabricatorFeedDAO',
|
'PhabricatorFeedStoryReference' => 'PhabricatorFeedDAO',
|
||||||
'PhabricatorFeedStoryStatus' => 'PhabricatorFeedStory',
|
|
||||||
'PhabricatorFile' => array(
|
'PhabricatorFile' => array(
|
||||||
'PhabricatorFileDAO',
|
'PhabricatorFileDAO',
|
||||||
'PhabricatorApplicationTransactionInterface',
|
'PhabricatorApplicationTransactionInterface',
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
final class PhabricatorFeedStoryStatus extends PhabricatorFeedStory {
|
|
||||||
|
|
||||||
public function getPrimaryObjectPHID() {
|
|
||||||
return $this->getAuthorPHID();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function renderView() {
|
|
||||||
$data = $this->getStoryData();
|
|
||||||
|
|
||||||
$author_phid = $data->getAuthorPHID();
|
|
||||||
|
|
||||||
$view = $this->newStoryView();
|
|
||||||
$view->setAppIcon('calendar-dark');
|
|
||||||
|
|
||||||
$view->setTitle($this->linkTo($author_phid));
|
|
||||||
$view->setImage($this->getHandle($author_phid)->getImageURI());
|
|
||||||
|
|
||||||
$content = $this->renderSummary($data->getValue('content'), $len = null);
|
|
||||||
$view->appendChild($content);
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function renderText() {
|
|
||||||
$author_handle = $this->getHandle($this->getPrimaryObjectPHID());
|
|
||||||
$author_name = $author_handle->getLinkName();
|
|
||||||
$author_uri = PhabricatorEnv::getURI($author_handle->getURI());
|
|
||||||
|
|
||||||
$text = pht('% updated their status %s', $author_name, $author_uri);
|
|
||||||
|
|
||||||
return $text;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue