]> git.mxchange.org Git - friendica.git/blobdiff - include/dbupdate.php
Merge pull request #2016 from fabrixxm/template_vars_hook
[friendica.git] / include / dbupdate.php
index 6ae1bf10e7a8e1df79017cbd2501da88b03bb147..28f1de340b91ca5fb0b8c62d9ab56ca0af87ec49 100644 (file)
@@ -8,7 +8,7 @@ function dbupdate_run(&$argv, &$argc) {
        if(is_null($a)){
                $a = new App;
        }
-  
+
        if(is_null($db)) {
                @include(".htconfig.php");
                require_once("include/dba.php");
@@ -19,11 +19,10 @@ function dbupdate_run(&$argv, &$argc) {
        load_config('config');
        load_config('system');
 
-       check_config($a);
+       update_db($a);
 }
 
 if (array_search(__file__,get_included_files())===0){
-  dbupdate_run($argv,$argc);
+  dbupdate_run($_SERVER["argv"],$_SERVER["argc"]);
   killme();
 }
-