Index: trunk/extensions/AdvancedMeta/AdvancedMeta.php |
— | — | @@ -32,10 +32,16 @@ |
33 | 33 | function efAdvancedMetaSchemaUpdates( $updater ) { |
34 | 34 | $base = dirname( __FILE__ ); |
35 | 35 | switch ( $updater->getDB()->getType() ) { |
36 | | - case 'mysql': |
37 | | - $updater->addExtensionUpdate( array( 'addTable', 'ext_meta', |
38 | | - "$base/AdvancedMeta.sql", true ) ); // Initial install tables |
| 36 | + case 'mysql': |
| 37 | + $updater->addExtensionUpdate( array( 'addTable', 'ext_meta', |
| 38 | + "$base/AdvancedMeta.sql", true ) ); // Initially install tables |
| 39 | + break; |
| 40 | + default: |
| 41 | + print"\n". |
| 42 | + "There are no table structures for the AdvancedMeta\n". |
| 43 | + "extension for your data base type at the moment.\n\n"; |
39 | 44 | } |
| 45 | + return True; |
40 | 46 | } |
41 | 47 | |
42 | 48 | class MWAdvancedMeta { |
— | — | @@ -421,4 +427,4 @@ |
422 | 428 | || count(array_intersect($wgUser->getGroups(), $this->allowedUsergroups)) !== 0 |
423 | 429 | ); |
424 | 430 | } |
425 | | -} |
\ No newline at end of file |
| 431 | +} |