Index: trunk/phase3/maintenance/sqlite.php |
— | — | @@ -31,6 +31,14 @@ |
32 | 32 | $this->addOption( 'backup-to', 'Backup database to the given file', false, true ); |
33 | 33 | } |
34 | 34 | |
| 35 | + /** |
| 36 | + * While we use database connection, this simple lie prevents useless --dbpass and |
| 37 | + * --dbuser options from appearing in help message for this script. |
| 38 | + */ |
| 39 | + protected function getDbType() { |
| 40 | + return Maintenance::DB_NONE; |
| 41 | + } |
| 42 | + |
35 | 43 | public function execute() { |
36 | 44 | global $wgDBtype; |
37 | 45 | |