dbupdate now moved as well
This commit is contained in:
parent
659748d27c
commit
13f899542d
6 changed files with 28 additions and 14 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue