mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-05 20:31:03 +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:
parent
28b12fb3cd
commit
6c2c80a373
3 changed files with 0 additions and 9 deletions
|
@ -24,8 +24,6 @@ final class ManiphestTask extends ManiphestDAO
|
||||||
PhabricatorPolicyCodexInterface,
|
PhabricatorPolicyCodexInterface,
|
||||||
PhabricatorUnlockableInterface {
|
PhabricatorUnlockableInterface {
|
||||||
|
|
||||||
const MARKUP_FIELD_DESCRIPTION = 'markup:desc';
|
|
||||||
|
|
||||||
protected $authorPHID;
|
protected $authorPHID;
|
||||||
protected $ownerPHID;
|
protected $ownerPHID;
|
||||||
|
|
||||||
|
|
|
@ -143,11 +143,6 @@ final class PhameBlogManageController extends PhameBlogController {
|
||||||
),
|
),
|
||||||
$feed_uri));
|
$feed_uri));
|
||||||
|
|
||||||
$engine = id(new PhabricatorMarkupEngine())
|
|
||||||
->setViewer($viewer)
|
|
||||||
->addObject($blog, PhameBlog::MARKUP_FIELD_DESCRIPTION)
|
|
||||||
->process();
|
|
||||||
|
|
||||||
$description = $blog->getDescription();
|
$description = $blog->getDescription();
|
||||||
if (strlen($description)) {
|
if (strlen($description)) {
|
||||||
$description = new PHUIRemarkupView($viewer, $description);
|
$description = new PHUIRemarkupView($viewer, $description);
|
||||||
|
|
|
@ -13,8 +13,6 @@ final class PhameBlog extends PhameDAO
|
||||||
PhabricatorFulltextInterface,
|
PhabricatorFulltextInterface,
|
||||||
PhabricatorFerretInterface {
|
PhabricatorFerretInterface {
|
||||||
|
|
||||||
const MARKUP_FIELD_DESCRIPTION = 'markup:description';
|
|
||||||
|
|
||||||
protected $name;
|
protected $name;
|
||||||
protected $subtitle;
|
protected $subtitle;
|
||||||
protected $description;
|
protected $description;
|
||||||
|
|
Loading…
Reference in a new issue