Added a Disable Macros function that can be called in some contexts where Macros are unsuitable
Summary: Semi Fixed T2397 Test Plan: Can disable the meme button on manually toggling the class variable. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2397 Differential Revision: https://secure.phabricator.com/D4781
This commit is contained in:
committed by
epriestley
parent
39afb3fedb
commit
ccb206e984
@@ -122,7 +122,8 @@ final class PhameBlogEditController
|
||||
->setName('description')
|
||||
->setValue($blog->getDescription())
|
||||
->setID('blog-description')
|
||||
->setUser($user))
|
||||
->setUser($user)
|
||||
->setDisableMacros(true))
|
||||
->appendChild(
|
||||
id(new AphrontFormPolicyControl())
|
||||
->setUser($user)
|
||||
|
||||
Reference in New Issue
Block a user