From: Brion Vibber Date: Tue, 22 Sep 2009 16:41:04 +0000 (+0000) Subject: Fix regression in sql.php: needs to run w/ DB admin privileges in order to do DB... X-Git-Tag: 1.31.0-rc.0~39581 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=02727d3f79ae5c77317e528412ef049a2d6aaf14;p=lhc%2Fweb%2Fwiklou.git Fix regression in sql.php: needs to run w/ DB admin privileges in order to do DB updates --- diff --git a/maintenance/sql.php b/maintenance/sql.php index b9c8b15b78..cceec00277 100644 --- a/maintenance/sql.php +++ b/maintenance/sql.php @@ -69,6 +69,10 @@ class MwSql extends Maintenance { $this->output( "Query OK, $affected row(s) affected\n" ); } } + + protected function getDbType() { + return Maintenance::DB_ADMIN; + } } class SqlPromptPrinter {