From: Chad Horohoe Date: Thu, 4 Aug 2011 21:00:40 +0000 (+0000) Subject: Followup r88270: comment out globals so I can resolve the fixme. Throw an exception... X-Git-Tag: 1.31.0-rc.0~28435 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=f74f6ee97c1a279f79199f6b7e029e40a4b5f833;p=lhc%2Fweb%2Fwiklou.git Followup r88270: comment out globals so I can resolve the fixme. Throw an exception here so nobody tries using it anyway --- diff --git a/includes/conf/Conf.php b/includes/conf/Conf.php index a2309163e3..b4845cbaf6 100755 --- a/includes/conf/Conf.php +++ b/includes/conf/Conf.php @@ -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