From: umherirrender Date: Tue, 24 Jun 2014 17:59:44 +0000 (+0200) Subject: Remove HTMLForm::addJS() (deprecated since 1.18) X-Git-Tag: 1.31.0-rc.0~15264 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=b6ed42da0acb10a20492f9907bc4419608cf4a65;p=lhc%2Fweb%2Fwiklou.git Remove HTMLForm::addJS() (deprecated since 1.18) Change-Id: Id174d37b69a2e8d76555c3d414fdb87c01222d66 --- 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. *