From: Reedy Date: Sat, 2 Jan 2016 15:37:15 +0000 (+0000) Subject: OutputPage::permissionRequired() was removed X-Git-Tag: 1.31.0-rc.0~8485 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=dc0dd31776704e46e892a09ba6e8c60c3b4d10cf;p=lhc%2Fweb%2Fwiklou.git OutputPage::permissionRequired() was removed Change-Id: I9ff1d601cf5fc3402f22bdaf829ae2e287652d31 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index a243f36373..458f5df2c1 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -198,6 +198,7 @@ changes to languages because of Phabricator reports. maintenance/dumpTextPass.php instead. * WikiPage::getUsedTemplates() was removed (deprecated since 1.19). * wfEmptyMsg() was removed (deprecated since 1.18). +* OutputPage::permissionRequired() was removed (deprecated since 1.18). == Compatibility == diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 3e0564b744..12b8204ade 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2488,17 +2488,6 @@ class OutputPage extends ContextSource { $this->returnToMain(); } - /** - * Display an error page noting that a given permission bit is required. - * @deprecated since 1.18, just throw the exception directly - * @param string $permission Key required - * @throws PermissionsError - */ - public function permissionRequired( $permission ) { - wfDeprecated( __METHOD__, '1.18' ); - throw new PermissionsError( $permission ); - } - /** * Format a list of error messages *