Skip to content
Snippets Groups Projects
Commit 6dc2a6b8 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

No commit message

No commit message
parent baeddac9
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,10 @@ while ($state <> 'END') { ...@@ -33,7 +33,10 @@ while ($state <> 'END') {
$logger->write("Loading configuration for notification id " . $notificationId, 'INFO'); $logger->write("Loading configuration for notification id " . $notificationId, 'INFO');
$notification = $notifications_controler->getByNotificationId($notificationId); $notification = $notifications_controler->getByNotificationId($notificationId);
if ($notification === FALSE) { if ($notification === FALSE) {
Bt_exitBatch(1, "Template association for notification '".$notificationId."' not found"); Bt_exitBatch(1, "Notification '".$notificationId."' not found");
}
if ($notification->is_enabled === 'N') {
Bt_exitBatch(100, "Notification '".$notificationId."' is disabled");
} }
$state = 'LOAD_EVENTS'; $state = 'LOAD_EVENTS';
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment