1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-03 19:31:02 +01:00

Remove ancient Remarkup constants from Phame and Maniphest

Summary: Ref T13661. These constants are no longer used.

Test Plan:
For a blog with a nonempty description, viewed the "Manage" page and the home page; saw properly rendered description.

Grepped for removed constants, no hits.

Maniphest Tasks: T13661

Differential Revision: https://secure.phabricator.com/D21749
This commit is contained in:
epriestley 2022-04-01 11:44:41 -07:00
parent 28b12fb3cd
commit 6c2c80a373
3 changed files with 0 additions and 9 deletions

View file

@ -24,8 +24,6 @@ final class ManiphestTask extends ManiphestDAO
PhabricatorPolicyCodexInterface,
PhabricatorUnlockableInterface {
const MARKUP_FIELD_DESCRIPTION = 'markup:desc';
protected $authorPHID;
protected $ownerPHID;

View file

@ -143,11 +143,6 @@ final class PhameBlogManageController extends PhameBlogController {
),
$feed_uri));
$engine = id(new PhabricatorMarkupEngine())
->setViewer($viewer)
->addObject($blog, PhameBlog::MARKUP_FIELD_DESCRIPTION)
->process();
$description = $blog->getDescription();
if (strlen($description)) {
$description = new PHUIRemarkupView($viewer, $description);

View file

@ -13,8 +13,6 @@ final class PhameBlog extends PhameDAO
PhabricatorFulltextInterface,
PhabricatorFerretInterface {
const MARKUP_FIELD_DESCRIPTION = 'markup:description';
protected $name;
protected $subtitle;
protected $description;