Ticket/11906 Fix notifications cron task

http://tracker.phpbb.com/browse/PHPBB3-11906