mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-23 05:01:13 +01:00
Remove ability to edit Badge forms
Summary: Ref T12270. Remove the EditEngine form configuration option on Badges. Test Plan: View edit page, don't see configure form. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12270 Differential Revision: https://secure.phabricator.com/D17392
This commit is contained in:
parent
89ce42c15c
commit
e2868a0da2
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ final class PhabricatorBadgesEditEngine
|
||||||
return pht('Configure creation and editing forms in Badges.');
|
return pht('Configure creation and editing forms in Badges.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isEngineConfigurable() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
return PhabricatorBadgesBadge::initializeNewBadge($this->getViewer());
|
return PhabricatorBadgesBadge::initializeNewBadge($this->getViewer());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue