mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 15:21:03 +01:00
Remove obsolete "setDisableMacros()" on "PhabricatorRemarkupControl"
Summary: Ref T13682. This method originated in D4781 and no longer has any callers; remove it. (I believe this was from an era where macros didn't have to be on their own line to trigger.) Test Plan: Grepped for method, found no callers. Maniphest Tasks: T13682 Differential Revision: https://secure.phabricator.com/D21831
This commit is contained in:
parent
42876de60d
commit
cc44ae32c5
1 changed files with 1 additions and 9 deletions
|
@ -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 @@ final class PhabricatorRemarkupControl
|
|||
),
|
||||
);
|
||||
|
||||
$can_use_macros =
|
||||
(!$this->disableMacro) &&
|
||||
(function_exists('imagettftext'));
|
||||
$can_use_macros = function_exists('imagettftext');
|
||||
|
||||
if ($can_use_macros) {
|
||||
$can_use_macros = PhabricatorApplication::isClassInstalledForViewer(
|
||||
|
|
Loading…
Reference in a new issue