Removed email notification.

This commit is contained in:
Alex Tselegidis 2015-10-05 00:32:47 +02:00
parent 88cc9f1574
commit 29a6c0f136

View file

@ -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) {