示例#1
0
 /**
  * Send Date reminder
  *
  * @return Void
  */
 public function sendDateReminder()
 {
     $logger = new BackendLogger();
     $logger->debug("[TDR] Start processing date reminders");
     $trackers = $this->getTrackersHavingDateReminders();
     foreach ($trackers as $tracker) {
         $logger->debug("[TDR] Processing date reminders for tracker " . $tracker->getProject()->getUnixName() . " / " . $tracker->getItemName() . " (id: " . $tracker->getId() . ")");
         $dateReminderManager = new Tracker_DateReminderManager($tracker);
         $dateReminderManager->process();
     }
     $logger->debug("[TDR] End processing date reminders");
 }
示例#2
0
 /**
  * Send Date reminder
  *
  * @return Void
  */
 public function sendDateReminder()
 {
     $trackers = $this->getTrackersHavingDateReminders();
     foreach ($trackers as $tracker) {
         $dateReminderManager = new Tracker_DateReminderManager($tracker);
         $dateReminderManager->process();
     }
 }