diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index e84b92cd..a44fcacd 100644 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -96,6 +96,8 @@ class Email { $timezone = NULL ) { + throw new RuntimeException('je fais un test '); + $timezones = $this->CI->timezones->to_array(); switch ($settings['date_format']) @@ -310,8 +312,6 @@ class Email { */ protected function create_mailer() { - throw new RuntimeException('je fais un test '); - $mailer = new PHPMailer(); if ($this->config['protocol'] === 'smtp')