Browse Source

Issue 3135: dbupdate is started again and again

pull/3139/head
Michael 4 years ago
parent
commit
dae125e8ee
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      include/dbupdate.php

+ 4
- 0
include/dbupdate.php View File

@ -20,6 +20,10 @@ function dbupdate_run(&$argv, &$argc) {
Config::load();
// 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…
Cancel
Save