Example #1
0
 public static function run()
 {
     $object = new self();
     $xenOptions = XenForo_Application::get('options');
     $time = $xenOptions->sonnbUpThread_scheduleLifeTime;
     if ($time) {
         $object->_getScheduleModel()->removeExpiredSchedule($time);
     }
 }