if ($_SERVER["argc"] == 2) {
switch ($_SERVER["argv"][1]) {
case "dryrun":
- DBStructure::updateStructure(true, false);
+ DBStructure::update(true, false);
return;
case "update":
- DBStructure::updateStructure(true, true);
+ DBStructure::update(true, true);
$build = Config::get('system','build');
if (!x($build)) {
Config::set('system','build',DB_UPDATE_VERSION);
return;
case "dumpsql":
- DBStructure::printStructure(DBStructure::definition());
+ DBStructure::printStructure();
return;
case "toinnodb":
DBStructure::convertToInnoDB();