Esempio n. 1
0
 public static function deleteBySchedulerConfigId($schedulerId)
 {
     $criteria = new Criteria();
     $criteria->add(SchedulerPeer::CONFIGURED_ID, $schedulerId);
     SchedulerPeer::doDelete($criteria);
     SchedulerWorkerPeer::deleteBySchedulerConfigId($schedulerId);
     SchedulerConfigPeer::deleteBySchedulerConfigId($schedulerId);
     SchedulerStatusPeer::deleteBySchedulerConfigId($schedulerId);
     ControlPanelCommandPeer::deleteBySchedulerConfigId($schedulerId);
 }