remove dbDelete() for alert_schedule_items (#11232)

* the table named alert_schedule_items was renamed to alert_schedulables
* see migration 277
This commit is contained in:
Joseph Tingiris 2020-03-02 21:26:39 -05:00 committed by GitHub
parent 269f64084a
commit 83b1374ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,6 @@ if ($sub_type == 'new-maintenance') {
);
} elseif ($sub_type == 'del-maintenance') {
$schedule_id = mres($_POST['del_schedule_id']);
dbDelete('alert_schedule_items', '`schedule_id`=?', array($schedule_id));
dbDelete('alert_schedule', '`schedule_id`=?', array($schedule_id));
dbDelete('alert_schedulables', '`schedule_id`=?', array($schedule_id));
$status = 'ok';