jenkins-bot has submitted this change and it was merged.
Change subject: Remove ApiBase::createContext() (deprecated since 1.19)
......................................................................
Remove ApiBase::createContext() (deprecated since 1.19)
Change-Id: Iee20e1c5e5b83b5b43303bde7e524b95b74eb62b
---
M RELEASE-NOTES-1.24
M includes/api/ApiBase.php
2 files changed, 1 insertion(+), 15 deletions(-)
Approvals:
Anomie: Looks good to me, approved
jenkins-bot: Verified
diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24
index 44c0250..d50c454 100644
--- a/RELEASE-NOTES-1.24
+++ b/RELEASE-NOTES-1.24
@@ -182,6 +182,7 @@
* 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
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index 25a1714..d221799 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -224,21 +224,6 @@
}
/**
- * 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
* function will result in the warning messages being separated by
--
To view, visit https://gerrit.wikimedia.org/r/142031
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iee20e1c5e5b83b5b43303bde7e524b95b74eb62b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits