From 77d37c2487bc4eee88038acb0f6b2bd8810f9786 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 9 Feb 2018 23:44:06 -0800 Subject: [PATCH] registration: Remove unused ExtensionRegistry::markLoaded This is unused, and it would make more sense for whatever wants to add credits to directly modify $this->loaded instead of incurring the overhead of an extra function call. Change-Id: Icce1a87d2dc8ce61cb05eace6e0b65d6cea4c58d --- includes/registration/ExtensionRegistry.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index bb4c7fd02a..d14a5eeeb1 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -406,16 +406,6 @@ class ExtensionRegistry { return $this->loaded; } - /** - * Mark a thing as loaded - * - * @param string $name - * @param array $credits - */ - protected function markLoaded( $name, array $credits ) { - $this->loaded[$name] = $credits; - } - /** * Fully expand autoloader paths * -- 2.20.1