From: Derick Alangi Date: Tue, 28 May 2019 18:27:02 +0000 (+0100) Subject: EditPage: Remove unused deprecated method ::submit() X-Git-Tag: 1.34.0-rc.0~1571^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=078ac4b10bbaaa5d551111f97537c97ee45e68c0;p=lhc%2Fweb%2Fwiklou.git EditPage: Remove unused deprecated method ::submit() Was deprecated in 1.29 and EditPage::edit() was made available for use and replacement of this ::submit(). Usage ===== https://codesearch.wmflabs.org/search/?q=%5C-%5C%3Esubmit%5C(%5C)&i=nope&files=&repos= The usage of ->submit() in the search link above are not for EditPage but for other classes. Change-Id: Ibd65965c785f84e9bda65cfaa2c491310cda8166 --- diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 3cc300c4bd..ca9a522b2d 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -189,6 +189,8 @@ because of Phabricator reports. Use the mediawiki.String module instead. * mw.language.specialCharacters, deprecated in 1.33, has been removed. Use require( 'mediawiki.language.specialCharacters' ) instead. +* EditPage::submit(), deprecated in 1.29, has been removed. Used $this->edit() + directly. * … === Deprecations in 1.34 === diff --git a/includes/EditPage.php b/includes/EditPage.php index 47a8b5b87f..ab7d6bb23b 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -565,14 +565,6 @@ class EditPage { $this->enableApiEditOverride = $enableOverride; } - /** - * @deprecated since 1.29, call edit directly - */ - public function submit() { - wfDeprecated( __METHOD__, '1.29' ); - $this->edit(); - } - /** * This is the function that gets called for "action=edit". It * sets up various member variables, then passes execution to