fix: [debug] Removed internal breakpoint that was left in

pull/5239/head
iglocska 2019-09-29 21:17:08 +02:00
parent c53f34e33d
commit 8f5f3ed08a
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 0 additions and 1 deletions

View File

@ -2599,7 +2599,6 @@ class EventsController extends AppController
}
// send out the email
$emailResult = $this->Event->sendAlertEmailRouter($id, $this->Auth->user(), $this->Event->data['Event']['publish_timestamp']);
throw new Exception();
if (is_bool($emailResult) && $emailResult == true) {
// Performs all the actions required to publish an event
$result = $this->Event->publishRouter($id, null, $this->Auth->user());