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: ' );
}
}
-$maintClass = "SqliteMaintenance";
+$maintClass = SqliteMaintenance::class;
require_once RUN_MAINTENANCE_IF_MAIN;