mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-28 01:22:25 +03:00
Update 054_add_default_timezone_to_setting.php
This commit is contained in:
parent
db6c127d3b
commit
3105ae6db5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Migration_Add_default_timezone_setting extends EA_Migration
|
||||||
if (!$this->db->get_where('settings', ['name' => 'default_timezone'])->num_rows()) {
|
if (!$this->db->get_where('settings', ['name' => 'default_timezone'])->num_rows()) {
|
||||||
$this->db->insert('settings', [
|
$this->db->insert('settings', [
|
||||||
'name' => 'default_timezone',
|
'name' => 'default_timezone',
|
||||||
'value' => 'UTC',
|
'value' => date_default_timezone_get(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue