From b6ed42da0acb10a20492f9907bc4419608cf4a65 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Tue, 24 Jun 2014 19:59:44 +0200 Subject: [PATCH] Remove HTMLForm::addJS() (deprecated since 1.18) Change-Id: Id174d37b69a2e8d76555c3d414fdb87c01222d66 --- RELEASE-NOTES-1.24 | 1 + includes/htmlform/HTMLForm.php | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 8e290b1292..8793fc9c19 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -175,6 +175,7 @@ changes to languages because of Bugzilla reports. * Removed info(), purge(), revert() and rollback() from the Article class; they have since become subclasses of the Action class. (deprecated since 1.19) * SearchEngineReplacePrefixesComplete hook was removed. +* Removed HTMLForm::addJS(). (deprecated since 1.18) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 175088d2e0..296de96f6e 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -304,15 +304,6 @@ class HTMLForm extends ContextSource { return $this->displayFormat === 'vform'; } - /** - * Add the HTMLForm-specific JavaScript, if it hasn't been - * done already. - * @deprecated since 1.18 load modules with ResourceLoader instead - */ - static function addJS() { - wfDeprecated( __METHOD__, '1.18' ); - } - /** * Get the HTMLFormField subclass for this descriptor. * -- 2.20.1