Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15284035
D21831.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D21831.diff
View Options
diff --git a/src/view/form/control/PhabricatorRemarkupControl.php b/src/view/form/control/PhabricatorRemarkupControl.php
--- a/src/view/form/control/PhabricatorRemarkupControl.php
+++ b/src/view/form/control/PhabricatorRemarkupControl.php
@@ -3,17 +3,11 @@
final class PhabricatorRemarkupControl
extends AphrontFormTextAreaControl {
- private $disableMacro = false;
private $disableFullScreen = false;
private $canPin;
private $sendOnEnter = false;
private $remarkupMetadata = array();
- public function setDisableMacros($disable) {
- $this->disableMacro = $disable;
- return $this;
- }
-
public function setDisableFullScreen($disable) {
$this->disableFullScreen = $disable;
return $this;
@@ -234,9 +228,7 @@
),
);
- $can_use_macros =
- (!$this->disableMacro) &&
- (function_exists('imagettftext'));
+ $can_use_macros = function_exists('imagettftext');
if ($can_use_macros) {
$can_use_macros = PhabricatorApplication::isClassInstalledForViewer(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 9:05 AM (6 h, 18 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224447
Default Alt Text
D21831.diff (1 KB)
Attached To
Mode
D21831: Remove obsolete "setDisableMacros()" on "PhabricatorRemarkupControl"
Attached
Detach File
Event Timeline
Log In to Comment