From: Florian Date: Sat, 2 Jan 2016 22:56:38 +0000 (+0100) Subject: Remove wfCheckLimits X-Git-Tag: 1.31.0-rc.0~8472^2 X-Git-Url: https://git.cyclocoop.org/%2C?a=commitdiff_plain;h=6c70a2e5b2c29a4a1e08c205e859200db5ae220f;p=lhc%2Fweb%2Fwiklou.git Remove wfCheckLimits Change-Id: Iae5614a82681317afd1b96bc9ab1709fa3588539 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 8be703ead6..c98db50d5a 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -206,6 +206,7 @@ changes to languages because of Phabricator reports. * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19). * LogPage::logName() was removed (deprecated since 1.19). * LogPage::logHeader() was removed (deprecated since 1.19). +* wfCheckLimits() was removed (deprecated since 1.24). == Compatibility == diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 075f69e55b..f71d765bbf 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1996,21 +1996,6 @@ function wfClientAcceptsGzip( $force = false ) { return $result; } -/** - * Obtain the offset and limit values from the request string; - * used in special pages - * - * @param int $deflimit Default limit if none supplied - * @param string $optionname Name of a user preference to check against - * @return array - * @deprecated since 1.24, just call WebRequest::getLimitOffset() directly - */ -function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) { - global $wgRequest; - wfDeprecated( __METHOD__, '1.24' ); - return $wgRequest->getLimitOffset( $deflimit, $optionname ); -} - /** * Escapes the given text so that it may be output using addWikiText() * without any linking, formatting, etc. making its way through. This