Finally removing the deprecated and unused functions User::isSysop, User::isBureaucrat and User::isDeveloper, and updating the release notes.
This commit is contained in:
parent
241676caf2
commit
fe4fd85975
2 changed files with 4 additions and 24 deletions
|
|
@ -116,6 +116,10 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 6753) Fixed broken Kazakh linktrail (kk)
|
||||
* (bug 6700) Added Kazakh language variants to Names.php
|
||||
* (bug 6827) some i18n specific maintenance scripts fails after merge of localisation-work branch
|
||||
* Throwed an exception for the deprecated functions OutputPage::sysopRequired and
|
||||
OutputPage::developerRequired - use OutputPage::permissionRequired instead.
|
||||
* Removed the deprecated functions User::isSysop, User::isBureaucrat and User::isDeveloper -
|
||||
use User::isAllowed instead.
|
||||
|
||||
== Languages updated ==
|
||||
|
||||
|
|
|
|||
|
|
@ -1306,30 +1306,6 @@ class User {
|
|||
return !$this->isLoggedIn();
|
||||
}
|
||||
|
||||
/**
|
||||
* Deprecated in 1.6, die in 1.7, to be removed in 1.8
|
||||
* @deprecated
|
||||
*/
|
||||
function isSysop() {
|
||||
throw new MWException( "Call to deprecated (v1.7) User::isSysop() method\n" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Deprecated in 1.6, die in 1.7, to be removed in 1.8
|
||||
* @deprecated
|
||||
*/
|
||||
function isDeveloper() {
|
||||
throw new MWException( "Call to deprecated (v1.7) User::isDeveloper() method\n" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Deprecated in 1.6, die in 1.7, to be removed in 1.8
|
||||
* @deprecated
|
||||
*/
|
||||
function isBureaucrat() {
|
||||
throw new MWException( "Call to deprecated (v1.7) User::isBureaucrat() method\n" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the user is a bot
|
||||
* @deprecated
|
||||
|
|
|
|||
Loading…
Reference in a new issue