dbupdate now moved as well

This commit is contained in:
Michael 2017-11-18 07:31:33 +00:00
commit 13f899542d
6 changed files with 28 additions and 14 deletions

View file

@ -1,13 +0,0 @@
<?php
use Friendica\Core\Config;
function dbupdate_run(&$argv, &$argc) {
global $a;
// We are deleting the latest dbupdate entry.
// This is done to avoid endless loops because the update was interupted.
Config::delete('database', 'dbupdate_'.DB_UPDATE_VERSION);
update_db($a);
}