Index: trunk/phase3/includes/installer/Update.php |
— | — | @@ -21,6 +21,9 @@ |
22 | 22 | case 'sqlite': |
23 | 23 | $this->updater = new SqliteUpdater(); |
24 | 24 | break; |
| 25 | + case 'oracle': |
| 26 | + $this->updater = new OracleUpdater(); |
| 27 | + break; |
25 | 28 | default: |
26 | 29 | throw new MWException( __METHOD__ . ' called for unsupported $wgDBtype' ); |
27 | 30 | } |
Index: trunk/phase3/includes/installer/Updaters.php |
— | — | @@ -210,3 +210,12 @@ |
211 | 211 | ); |
212 | 212 | } |
213 | 213 | } |
| 214 | + |
| 215 | +/** |
| 216 | + * Oracle |
| 217 | + */ |
| 218 | +class OracleUpdater implements Updaters { |
| 219 | + public function getUpdates() { |
| 220 | + return array(); |
| 221 | + } |
| 222 | +} |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -426,6 +426,7 @@ |
427 | 427 | 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php', |
428 | 428 | 'SqliteUpdater' => 'includes/installer/Updaters.php', |
429 | 429 | 'OracleInstaller' => 'includes/installer/OracleInstaller.php', |
| 430 | + 'OracleUpdater' => 'includes/installer/Updaters.php', |
430 | 431 | 'Update' => 'includes/installer/Update.php', |
431 | 432 | 'Updaters' => 'includes/installer/Updaters.php', |
432 | 433 | |