Merge pull request #848 from iekor/develop

Remove timezone_model fix email notifications
This commit is contained in:
Alex Tselegidis 2020-08-15 14:46:28 +03:00 committed by GitHub
commit c651e294ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,9 +87,7 @@ class Email {
) {
$framework = get_instance();
$framework->load->model('timezones_model');
$timezones = $framework->timezones_model->to_array();
$timezones = $framework->timezones->to_array();
switch ($company['date_format'])
{
@ -182,9 +180,8 @@ class Email {
) {
$framework = get_instance();
$framework->load->model('timezones_model');
$timezones = $framework->timezones_model->to_array();
$timezones = $framework->timezones->to_array();
switch ($company['date_format'])
{