Home
last modified time | relevance | path

Searched refs:cron_helper (Results 1 – 2 of 2) sorted by relevance

/plugin/notification/action/
Dcron.php46 $cron_helper = plugin_load('helper', 'notification_cron');
47 $cron_helper->addUsersToCron();
59 $notification_data = $cron_helper->getNotificationData($user);
64 $new_notifications = $cron_helper->getNewNotifications($user, $notification_data);
69 list($text, $html) = $cron_helper->composeEmail($new_notifications);
70 if ($cron_helper->sendMail($user, $text, $html)) {
72 $cron_helper->storeSentNotifications($user, $new_notifications);
/plugin/notification/
Dcli.php13 protected $cron_helper; variable in cli_plugin_notification
22 $this->cron_helper = plugin_load('helper', 'notification_cron');
82 $notification_data = $this->cron_helper->getNotificationData($user);
90 $new_notifications = $this->cron_helper->getNewNotifications($user, $notification_data);
98 list($text, $html) = $this->cron_helper->composeEmail($new_notifications);
99 if ($this->cron_helper->sendMail($user, $text, $html)) {
100 $this->cron_helper->storeSentNotifications($user, $new_notifications);