mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-09 16:32:39 +01:00
Remove unused "MARKUP_FIELD_SUMMARY" for Phame posts
Summary: Ref T13661. This ancient "RemarkupInterface" constant has no references. Test Plan: Grepped for references, found none. Viewed a blog, viewed a post. Maniphest Tasks: T13661 Differential Revision: https://secure.phabricator.com/D21753
This commit is contained in:
parent
a9822a37aa
commit
f555fbcb50
1 changed files with 0 additions and 3 deletions
|
@ -15,7 +15,6 @@ final class PhamePost extends PhameDAO
|
|||
PhabricatorFerretInterface {
|
||||
|
||||
const MARKUP_FIELD_BODY = 'markup:body';
|
||||
const MARKUP_FIELD_SUMMARY = 'markup:summary';
|
||||
|
||||
protected $bloggerPHID;
|
||||
protected $title;
|
||||
|
@ -255,8 +254,6 @@ final class PhamePost extends PhameDAO
|
|||
switch ($field) {
|
||||
case self::MARKUP_FIELD_BODY:
|
||||
return $this->getBody();
|
||||
case self::MARKUP_FIELD_SUMMARY:
|
||||
return PhabricatorMarkupEngine::summarize($this->getBody());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue