From c8042bb8ccbd74efd842ba2b7f8482462ac7f2d9 Mon Sep 17 00:00:00 2001 From: addshore Date: Mon, 17 Oct 2016 22:06:45 +0100 Subject: [PATCH] Fix ExtensionRegistry cache doc that is out of date Change-Id: If019599baec4e8c566362744c2f565ca169b66b6 --- includes/registration/ExtensionRegistry.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ) { -- 2.20.1