From: Sam Reed Date: Sun, 2 Jan 2011 08:33:47 +0000 (+0000) Subject: Method documentation X-Git-Tag: 1.31.0-rc.0~32884 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=2f727abc548c639df2444e9f56b0ff04e1dfa497;p=lhc%2Fweb%2Fwiklou.git Method documentation --- diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index acb5c27eeb..65f2ddcc38 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -76,6 +76,14 @@ abstract class DatabaseUpdater { $wgExtModifiedFields = array(); // table, index, dir } + /** + * @static + * @throws MWException + * @param DatabaseBase $db + * @param bool $shared + * @param null $maintenance + * @return + */ public static function newForDB( &$db, $shared = false, $maintenance = null ) { $type = $db->getType(); if( in_array( $type, Installer::getDBTypes() ) ) {