Followup r88270: comment out globals so I can resolve the fixme. Throw an exception...
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 4 Aug 2011 21:00:40 +0000 (21:00 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 4 Aug 2011 21:00:40 +0000 (21:00 +0000)
includes/conf/Conf.php

index a230916..b4845cb 100755 (executable)
@@ -114,9 +114,10 @@ abstract class Conf {
         * @return Conf child
         */
        public static function load( $wiki = false ) {
+               throw new MWException( "Not working yet, don't attempt to use this" );
                if( !self::$__instance ) {
-                       global $wgConfiguration;
-                       self::$__instance = self::newFromSettings( $wgConfiguration );
+                       /**global $wgConfiguration;
+                       self::$__instance = self::newFromSettings( $wgConfiguration );*/
                }
                if( $wiki && $wiki != self::$__instance->getWikiId() ) {
                        // Load configuration for a different wiki, not sure how