Delete o_merge_timeout from config table

This commit is contained in:
Visman 2020-11-01 20:11:14 +07:00
parent ab58de9f95
commit 9b4b6b5607
2 changed files with 4 additions and 1 deletions

View file

@ -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,

View file

@ -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;
}
}