]> git.mxchange.org Git - friendica.git/blobdiff - scripts/dbstructure.php
Small fixes to translatable string
[friendica.git] / scripts / dbstructure.php
index 58c1011fb95e84b6bc2cdbfaa0587105bfb7af24..3787af2255dd0ae63c1eea28e28f8b4ba35666a5 100755 (executable)
@@ -21,10 +21,10 @@ unset($db_host, $db_user, $db_pass, $db_data);
 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)) {
@@ -46,7 +46,7 @@ if ($_SERVER["argc"] == 2) {
                        Config::set('system','build',DB_UPDATE_VERSION);
                        return;
                case "dumpsql":
-                       DBStructure::printStructure(DBStructure::definition());
+                       DBStructure::printStructure();
                        return;
                case "toinnodb":
                        DBStructure::convertToInnoDB();