Merge "Decolonize 'viewsourcetext' and 'viewyourtext' messages"
[lhc/web/wiklou.git] / includes / registration / ExtensionRegistry.php
index d48a1bd..858f3bf 100644 (file)
@@ -118,6 +118,24 @@ class ExtensionRegistry {
                $this->queued = array();
        }
 
+       /**
+        * Get the current load queue. Not intended to be used
+        * outside of the installer.
+        *
+        * @return array
+        */
+       public function getQueue() {
+               return $this->queued;
+       }
+
+       /**
+        * Clear the current load queue. Not intended to be used
+        * outside of the installer.
+        */
+       public function clearQueue() {
+               $this->queued = array();
+       }
+
        /**
         * Process a queue of extensions and return their extracted data
         *