static function batch_complete() { try { notification::send_pending_notifications(); } catch (Exception $e) { Kohana_Log::add("error", "@todo notification_event::batch_complete() failed"); Kohana_Log::add("error", $e->getMessage() . "\n" . $e->getTraceAsString()); } }
static function batch_complete() { notification::send_pending_notifications(); }