Merge pull request #12618 from nupplaphil/no_config_purge
Don't wipe `config` or `addon` data
This commit is contained in:
commit
0d2da55dfe
1 changed files with 2 additions and 2 deletions
|
@ -1192,7 +1192,7 @@ function update_1508()
|
||||||
|
|
||||||
$newConfig->commit();
|
$newConfig->commit();
|
||||||
|
|
||||||
return DBA::e("TRUNCATE TABLE `config`") ? Update::SUCCESS : Update::FAILED;
|
return Update::SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_1509()
|
function update_1509()
|
||||||
|
@ -1210,5 +1210,5 @@ function update_1509()
|
||||||
|
|
||||||
$newConfig->commit();
|
$newConfig->commit();
|
||||||
|
|
||||||
return DBA::e("TRUNCATE TABLE `addon`") ? Update::SUCCESS : Update::FAILED;
|
return Update::SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue