mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- bugfix: failed to upgrade db v1.4 due to unnecessary db request (GH-85)
This commit is contained in:
parent
33bb209b97
commit
634cdcceee
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ if ($configExists)
|
|||
}
|
||||
else if ($ver == '1.4') {
|
||||
// Need to upgrade. Do not ask for old password
|
||||
Config::$noDatabase = true; //don't load settings from db
|
||||
require_once(MTTPATH. 'db/config.php');
|
||||
Config::loadConfigV14($config);
|
||||
unset($config);
|
||||
|
|
|
|||
Loading…
Reference in a new issue