jenkins-bot has submitted this change and it was merged. Change subject: Fix ExtensionRegistry cache doc that is out of date ......................................................................
Fix ExtensionRegistry cache doc that is out of date Change-Id: If019599baec4e8c566362744c2f565ca169b66b6 --- M includes/registration/ExtensionRegistry.php 1 file changed, 2 insertions(+), 3 deletions(-) Approvals: WMDE-Fisch: Looks good to me, but someone else must approve Aaron Schulz: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index 35044e1..78ec148 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -84,9 +84,8 @@ } public function __construct() { - // We use a try/catch instead of the $fallback parameter because - // we don't want to fail here if $wgObjectCaches is not configured - // properly for APC setup + // We use a try/catch because we don't want to fail here + // if $wgObjectCaches is not configured properly for APC setup try { $this->cache = MediaWikiServices::getInstance()->getLocalServerObjectCache(); } catch ( MWException $e ) { -- To view, visit https://gerrit.wikimedia.org/r/316470 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If019599baec4e8c566362744c2f565ca169b66b6 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> Gerrit-Reviewer: WMDE-Fisch <christoph.jau...@wikimedia.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits