Index: branches/wmf/1.19wmf1/includes/Cdb.php |
— | — | @@ -19,12 +19,12 @@ |
20 | 20 | * @return CdbReader |
21 | 21 | */ |
22 | 22 | public static function open( $fileName ) { |
23 | | - if ( self::haveExtension() ) { |
24 | | - return new CdbReader_DBA( $fileName ); |
25 | | - } else { |
26 | | - wfDebug( "Warning: no dba extension found, using emulation.\n" ); |
| 23 | + //if ( self::haveExtension() ) { |
| 24 | + // return new CdbReader_DBA( $fileName ); |
| 25 | + //} else { |
| 26 | + // wfDebug( "Warning: no dba extension found, using emulation.\n" ); |
27 | 27 | return new CdbReader_PHP( $fileName ); |
28 | | - } |
| 28 | + //} |
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
Index: branches/wmf/1.19wmf1/includes/MagicWord.php |
— | — | @@ -290,8 +290,8 @@ |
291 | 291 | $wgContLang->getMagic( $this ); |
292 | 292 | if ( !$this->mSynonyms ) { |
293 | 293 | $this->mSynonyms = array( 'dkjsagfjsgashfajsh' ); |
294 | | - #throw new MWException( "Error: invalid magic word '$id'" ); |
295 | | - wfDebugLog( 'exception', "Error: invalid magic word '$id'\n" ); |
| 294 | + throw new MWException( "Error: invalid magic word '$id'" ); |
| 295 | + #wfDebugLog( 'exception', "Error: invalid magic word '$id'\n" ); |
296 | 296 | } |
297 | 297 | wfProfileOut( __METHOD__ ); |
298 | 298 | } |