forked from mirrors/easyappointments
Merge pull request #848 from iekor/develop
Remove timezone_model fix email notifications
This commit is contained in:
commit
c651e294ce
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