forked from mirrors/easyappointments
Removed email notification.
This commit is contained in:
parent
88cc9f1574
commit
29a6c0f136
1 changed files with 681 additions and 692 deletions
|
@ -667,17 +667,6 @@ class Appointments extends CI_Controller {
|
||||||
$this->settings_model->set_setting('company_email', $company['company_email']);
|
$this->settings_model->set_setting('company_email', $company['company_email']);
|
||||||
$this->settings_model->set_setting('company_link', $company['company_link']);
|
$this->settings_model->set_setting('company_link', $company['company_link']);
|
||||||
|
|
||||||
// Try to send a notification email for the new installation.
|
|
||||||
// IMPORTANT: THIS WILL ONLY BE USED TO TRACK THE INSTALLATION NUMBER AND
|
|
||||||
// NO PERSONAL DATA WILL BE USED FOR OTHER CAUSE.
|
|
||||||
try {
|
|
||||||
$this->load->library('notifications');
|
|
||||||
$this->notifications->send_new_installation($company['company_name'],
|
|
||||||
$company['company_email'], $company['company_link']);
|
|
||||||
} catch(Exception $exc) {
|
|
||||||
// Well, I guess we'll never know ...
|
|
||||||
}
|
|
||||||
|
|
||||||
echo json_encode(AJAX_SUCCESS);
|
echo json_encode(AJAX_SUCCESS);
|
||||||
|
|
||||||
} catch (Exception $exc) {
|
} catch (Exception $exc) {
|
||||||
|
|
Loading…
Reference in a new issue