diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2015-03-07 04:31:08 -0800 |
---|---|---|
committer | Aaron Schulz <aschulz@wikimedia.org> | 2015-03-09 18:35:24 +0000 |
commit | 46cf4f1e3010010e531340b99cbd59469529be0f (patch) | |
tree | e5ab39cad73fa2bb6c98d8f1d63faa3cf0c8e776 /maintenance/update.php | |
parent | 887fb377d9df8768d98ed4d7e215f9ce0e538499 (diff) | |
download | mediawikicore-46cf4f1e3010010e531340b99cbd59469529be0f.tar.gz mediawikicore-46cf4f1e3010010e531340b99cbd59469529be0f.zip |
Clean up $wgSQLiteDataDir handling and removed standalone sqlite class
* The data directory can now be set via the construction params
* A standalone factory method now replaces the subclass
* Also made mDatabaseFile protected
Change-Id: I1791fd4f630e5c121fa7f68f473411a7c12d0c97
Diffstat (limited to 'maintenance/update.php')
-rwxr-xr-x | maintenance/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/update.php b/maintenance/update.php index 182a2c4660aa..6e93011bce2a 100755 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -151,7 +151,7 @@ class UpdateMediaWiki extends Maintenance { $this->output( "Going to run database updates for " . wfWikiID() . "\n" ); if ( $db->getType() === 'sqlite' ) { - $this->output( "Using SQLite file: '{$db->mDatabaseFile}'\n" ); + $this->output( "Using SQLite file: '{$db->getDbFilePath()}'\n" ); } $this->output( "Depending on the size of your database this may take a while!\n" ); |