From: Sam Reed Date: Tue, 14 Feb 2012 04:05:49 +0000 (+0000) Subject: Documentations! X-Git-Tag: 1.31.0-rc.0~24719 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=c760826b64a710b0f4c9f453cb9b1398bc2628a0;p=lhc%2Fweb%2Fwiklou.git Documentations! --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 7cc9328e3e..896117bcf0 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -666,6 +666,8 @@ abstract class DatabaseBase implements DatabaseType { * @see ForeignDBRepo::getMasterDB() * @see WebInstaller_DBConnect::execute() * + * @since 1.18 + * * @param $dbType String A possible DB type * @param $p Array An array of options to pass to the constructor. * Valid options are: host, user, password, dbname, flags, tablePrefix diff --git a/maintenance/populateRevisionSha1.php b/maintenance/populateRevisionSha1.php index 386a0a64b2..1e24e5436f 100644 --- a/maintenance/populateRevisionSha1.php +++ b/maintenance/populateRevisionSha1.php @@ -54,6 +54,10 @@ class PopulateRevisionSha1 extends LoggedUpdateMaintenance { } /** + * @param $db DatabaseBase + * @param $table string + * @param $idCol + * @param $prefix string * @return Integer Rows changed */ protected function doSha1Updates( $db, $table, $idCol, $prefix ) {