Delete o_merge_timeout from config table
This commit is contained in:
parent
ab58de9f95
commit
9b4b6b5607
2 changed files with 4 additions and 1 deletions
|
@ -1127,7 +1127,6 @@ class Install extends Admin
|
|||
'p_force_guest_email' => 1,
|
||||
'o_pms_enabled' => 1, // New PMS - Visman
|
||||
'o_pms_min_kolvo' => 0,
|
||||
'o_merge_timeout' => 86400, // ???? сейчас нет настройки в админке
|
||||
'o_poll_enabled' => 0, // опросы - Visman
|
||||
'o_poll_max_ques' => 3,
|
||||
'o_poll_max_field' => 20,
|
||||
|
|
|
@ -1024,6 +1024,10 @@ class Update extends Admin
|
|||
)';
|
||||
$this->c->DB->exec($query);
|
||||
|
||||
unset($this->c->config->o_merge_timeout);
|
||||
|
||||
$this->c->config->save();
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue