The code to handle sending of notification was missing. This change
makes two different options available on how notifications will be
handled which will be controlled by CRON_SERVER_IP config option.
- If CRON_SERVER_IP is set, the server with the given IP should
call URL ../admin/?task=cron every x minutes. If the config
is left empty, the notification will be called once the
incident has been saved. (The latter meothod might cause
server timeout if there are large numbers of subscribers!)
Other minor changes:
- Removed old commented code
- Removed call to syslog used for debugging