Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -76,6 +76,14 @@ |
77 | 77 | $wgExtModifiedFields = array(); // table, index, dir |
78 | 78 | } |
79 | 79 | |
| 80 | + /** |
| 81 | + * @static |
| 82 | + * @throws MWException |
| 83 | + * @param DatabaseBase $db |
| 84 | + * @param bool $shared |
| 85 | + * @param null $maintenance |
| 86 | + * @return |
| 87 | + */ |
80 | 88 | public static function newForDB( &$db, $shared = false, $maintenance = null ) { |
81 | 89 | $type = $db->getType(); |
82 | 90 | if( in_array( $type, Installer::getDBTypes() ) ) { |