dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mw.Feedback: If the message is posted remotely, link the title correctly"
[lhc/web/wiklou.git]
/
maintenance
/
sqlite.php
diff --git
a/maintenance/sqlite.php
b/maintenance/sqlite.php
index
e74a86c
..
5070745
100644
(file)
--- a/
maintenance/sqlite.php
+++ b/
maintenance/sqlite.php
@@
-83,7
+83,7
@@
class SqliteMaintenance extends Maintenance {
private function vacuum() {
$prevSize = filesize( $this->db->getDbFilePath() );
if ( $prevSize == 0 ) {
private function vacuum() {
$prevSize = filesize( $this->db->getDbFilePath() );
if ( $prevSize == 0 ) {
- $this->
error( "Can't vacuum an empty database.\n", true
);
+ $this->
fatalError( "Can't vacuum an empty database.\n"
);
}
$this->output( 'VACUUM: ' );
}
$this->output( 'VACUUM: ' );
@@
-142,5
+142,5
@@
class SqliteMaintenance extends Maintenance {
}
}
}
}
-$maintClass =
"SqliteMaintenance"
;
+$maintClass =
SqliteMaintenance::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;