Remove timezone_model fix email notifications

This commit is contained in:
iekor 2020-07-17 00:10:29 -07:00 committed by GitHub
parent 16c18f9b99
commit f2c38bd38d
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'])
{