mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
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:
parent
269f64084a
commit
83b1374ce7
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user