Remove ApiBase::createContext() (deprecated since 1.19)
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 25 Jun 2014 18:35:56 +0000 (20:35 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Wed, 25 Jun 2014 18:35:56 +0000 (20:35 +0200)
Change-Id: Iee20e1c5e5b83b5b43303bde7e524b95b74eb62b

RELEASE-NOTES-1.24
includes/api/ApiBase.php

index 44c0250..d50c454 100644 (file)
@@ -182,6 +182,7 @@ changes to languages because of Bugzilla reports.
 * Removed ImageGalleryBase::useSkin(). (deprecated since 1.18)
 * Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19)
 * Removed LoadBalancer::closeConnecton(). (deprecated since 1.18)
+* Removed ApiBase::createContext(). (deprecated since 1.19)
 
 ==== Renamed classes ====
 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
index 25a1714..d221799 100644 (file)
@@ -223,21 +223,6 @@ abstract class ApiBase extends ContextSource {
                return $this->getResult()->getData();
        }
 
-       /**
-        * Create a new RequestContext object to use e.g. for calls to other parts
-        * the software.
-        * The object will have the WebRequest and the User object set to the ones
-        * used in this instance.
-        *
-        * @deprecated since 1.19 use getContext to get the current context
-        * @return DerivativeContext
-        */
-       public function createContext() {
-               wfDeprecated( __METHOD__, '1.19' );
-
-               return new DerivativeContext( $this->getContext() );
-       }
-
        /**
         * Set warning section for this module. Users should monitor this
         * section to notice any changes in API. Multiple calls to this