private $context;
/**
- * Get the RequestContext object
+ * Get the base IContextSource object
* @since 1.18
- * @return RequestContext
+ * @return IContextSource
*/
public function getContext() {
if ( $this->context === null ) {
return $this->getContext()->getUser();
}
- /**
- * Get the Language object
- *
- * @deprecated since 1.19 Use getLanguage instead
- * @return Language
- */
- public function getLang() {
- wfDeprecated( __METHOD__, '1.19' );
-
- return $this->getLanguage();
- }
-
/**
* Get the Language object
*