Remove timezone_model fix email notifications
This commit is contained in:
parent
16c18f9b99
commit
f2c38bd38d
1 changed files with 2 additions and 5 deletions
|
@ -87,9 +87,7 @@ class Email {
|
||||||
) {
|
) {
|
||||||
$framework = get_instance();
|
$framework = get_instance();
|
||||||
|
|
||||||
$framework->load->model('timezones_model');
|
$timezones = $framework->timezones->to_array();
|
||||||
|
|
||||||
$timezones = $framework->timezones_model->to_array();
|
|
||||||
|
|
||||||
switch ($company['date_format'])
|
switch ($company['date_format'])
|
||||||
{
|
{
|
||||||
|
@ -182,9 +180,8 @@ class Email {
|
||||||
) {
|
) {
|
||||||
$framework = get_instance();
|
$framework = get_instance();
|
||||||
|
|
||||||
$framework->load->model('timezones_model');
|
|
||||||
|
|
||||||
$timezones = $framework->timezones_model->to_array();
|
$timezones = $framework->timezones->to_array();
|
||||||
|
|
||||||
switch ($company['date_format'])
|
switch ($company['date_format'])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue