* @deprecated use wfSetupSession()
*/
function SetupSession() {
+ trigger_error( 'Use of ' . __METHOD__ . ' is deprecated', E_USER_NOTICE );
wfSetupSession();
}
* @deprecated use User::newFromId()
*/
function setID( $v ) {
+ trigger_error( 'Use of ' . __METHOD__ . ' is deprecated', E_USER_NOTICE );
$this->mId = $v;
$this->clearInstanceCache( 'id' );
}
* @deprecated
*/
function isBot() {
+ trigger_error( 'Use of ' . __METHOD__ . ' is deprecated', E_USER_NOTICE );
return $this->isAllowed( 'bot' );
}
/**
* @deprecated
*/
- function setLoaded( $loaded ) {}
+ function setLoaded( $loaded ) {
+ trigger_error( 'Use of ' . __METHOD__ . ' is deprecated', E_USER_NOTICE );
+ }
/**
* Get this user's personal page title.