mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
Chore: Remove onDelete as unused
This commit is contained in:
parent
edd2534a1b
commit
1e92487f30
@ -470,10 +470,6 @@ class Monitor extends BeanModel {
|
||||
this.prometheus().remove();
|
||||
}
|
||||
|
||||
onDelete() {
|
||||
this.prometheus().remove();
|
||||
}
|
||||
|
||||
prometheus() {
|
||||
return new Prometheus(this);
|
||||
}
|
||||
|
@ -738,7 +738,6 @@ exports.entryPage = "dashboard";
|
||||
|
||||
if (monitorID in monitorList) {
|
||||
monitorList[monitorID].stop();
|
||||
monitorList[monitorID].onDelete();
|
||||
delete monitorList[monitorID];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user