1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

fixed overlong differential feed story titles

Summary:
Previously, the comment and/or summary would be added to the title. This
is incorrect behavior.

Test Plan: observed change

Reviewers: epriestley

Reviewed By: epriestley

CC: allenjohnashton, keebuhm, aran, Korvin

Differential Revision: https://secure.phabricator.com/D2701
This commit is contained in:
David Fisher 2012-06-10 17:38:06 -07:00 committed by epriestley
parent 1f3b058daa
commit a57f5d1562

View file

@ -81,7 +81,6 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
$owner_phid = $data->getValue('revision_author_phid'); $owner_phid = $data->getValue('revision_author_phid');
$revision_phid = $data->getValue('revision_phid'); $revision_phid = $data->getValue('revision_phid');
$action = $data->getValue('action'); $action = $data->getValue('action');
$comments = $data->getValue('feedback_content');
$actor_link = $this->linkTo($actor_phid); $actor_link = $this->linkTo($actor_phid);
$revision_link = $this->linkTo($revision_phid); $revision_link = $this->linkTo($revision_phid);
@ -91,10 +90,6 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
$one_line = "{$actor_link} {$verb} revision {$revision_link}"; $one_line = "{$actor_link} {$verb} revision {$revision_link}";
if ($comments) {
$one_line .= " \"{$comments}\"";
}
return $one_line; return $one_line;
} }
} }