From f2c38bd38d5181940db0cb1b8711b8171b81ebbb Mon Sep 17 00:00:00 2001 From: iekor <53889778+iekor@users.noreply.github.com> Date: Fri, 17 Jul 2020 00:10:29 -0700 Subject: [PATCH] Remove timezone_model fix email notifications --- engine/Notifications/Email.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index d028c725..c046a15d 100755 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -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']) {