When RINO is set to a (now) invalid value, we set it to a valid one
This commit is contained in:
parent
cf6005c260
commit
18ad2fb96d
2 changed files with 13 additions and 1 deletions
12
update.php
12
update.php
|
@ -161,3 +161,15 @@ function update_1244() {
|
|||
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
function update_1245() {
|
||||
$rino = Config::get('system', 'rino_encrypt');
|
||||
|
||||
if (!$rino) {
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
Config::set('system', 'rino_encrypt', 1);
|
||||
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue