registration: Remove unused ExtensionRegistry::markLoaded
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 10 Feb 2018 07:44:06 +0000 (23:44 -0800)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 12 Feb 2018 20:43:48 +0000 (20:43 +0000)
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

index bb4c7fd..d14a5ee 100644 (file)
@@ -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
         *