1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +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:
epriestley 2022-04-01 12:15:37 -07:00
parent a9822a37aa
commit f555fbcb50

View file

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