From: addshore Date: Mon, 17 Oct 2016 21:06:45 +0000 (+0100) Subject: Fix ExtensionRegistry cache doc that is out of date X-Git-Tag: 1.31.0-rc.0~5085^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=c8042bb8ccbd74efd842ba2b7f8482462ac7f2d9;p=lhc%2Fweb%2Fwiklou.git Fix ExtensionRegistry cache doc that is out of date Change-Id: If019599baec4e8c566362744c2f565ca169b66b6 --- diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index 35044e1f86..78ec148138 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -84,9 +84,8 @@ class ExtensionRegistry { } 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 ) {