Searched refs:new_notifications (Results 1 – 3 of 3) sorted by relevance
111 $new_notifications = [];116 $new_notifications[] = $notification;120 return $new_notifications;126 * @param array $new_notifications129 public function composeEmail($new_notifications) argument135 usort($new_notifications, function ($a, $b) {142 foreach ($new_notifications as $notification) {
64 $new_notifications = $cron_helper->getNewNotifications($user, $notification_data);67 if (!$new_notifications) return;69 list($text, $html) = $cron_helper->composeEmail($new_notifications);72 $cron_helper->storeSentNotifications($user, $new_notifications);
90 $new_notifications = $this->cron_helper->getNewNotifications($user, $notification_data);93 if (!$new_notifications) {98 list($text, $html) = $this->cron_helper->composeEmail($new_notifications);100 $this->cron_helper->storeSentNotifications($user, $new_notifications);