- Inittrigger заменен на Dropschedule

parent 6a46b8e1
......@@ -18,14 +18,12 @@ class DefaultController extends BaseController
return [
'Index' => 'Главная страница модуля',
'Rechecktriggers' => 'Запуск проверки срабатывания триггеров',
'Inittrigger' => 'Init trigger By id'
'Dropschedule' => 'Drop schedule By id'
];
}
public function actionInittrigger($id){
/** @var TriggerTrigger $trigger */
$trigger = TriggerTrigger::findOne($id);
$trigger->initAction();
public function actionDropschedule($id){
TriggerSchedule::findOne($id)->delete();
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment