From c760826b64a710b0f4c9f453cb9b1398bc2628a0 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 14 Feb 2012 04:05:49 +0000 Subject: [PATCH] Documentations! --- includes/db/Database.php | 2 ++ maintenance/populateRevisionSha1.php | 4 ++++ 2 files changed, 6 insertions(+) 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 ) { -- 2.20.1