r69476 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69475‎ | r69476 | r69477 >
Date:12:11, 17 July 2010
Author:demon
Status:ok
Tags:
Comment:
Add stub OracleUpdater
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)
  • /trunk/phase3/includes/installer/Update.php (modified) (history)
  • /trunk/phase3/includes/installer/Updaters.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/Update.php
@@ -21,6 +21,9 @@
2222 case 'sqlite':
2323 $this->updater = new SqliteUpdater();
2424 break;
 25+ case 'oracle':
 26+ $this->updater = new OracleUpdater();
 27+ break;
2528 default:
2629 throw new MWException( __METHOD__ . ' called for unsupported $wgDBtype' );
2730 }
Index: trunk/phase3/includes/installer/Updaters.php
@@ -210,3 +210,12 @@
211211 );
212212 }
213213 }
 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 @@
427427 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php',
428428 'SqliteUpdater' => 'includes/installer/Updaters.php',
429429 'OracleInstaller' => 'includes/installer/OracleInstaller.php',
 430+ 'OracleUpdater' => 'includes/installer/Updaters.php',
430431 'Update' => 'includes/installer/Update.php',
431432 'Updaters' => 'includes/installer/Updaters.php',
432433

Status & tagging log