mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 08:05:57 -04:00
Renamed sub for readability
This commit is contained in:
1 parent
750fb33e1c
commit
8cbfd04db6
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -189,7 +189,7 @@ def main ():
|
||||
notification.clearPendingEmailFlag()
|
||||
|
||||
else:
|
||||
notification.clearPluginObjects()
|
||||
notification.clearPluginEvents()
|
||||
mylog('verbose', ['[Notification] No changes to report'])
|
||||
|
||||
# Commit SQL
|
||||
|
||||
@@ -283,7 +283,7 @@ class NotificationInstance:
|
||||
|
||||
self.save()
|
||||
|
||||
def clearPluginObjects(self):
|
||||
def clearPluginEvents(self):
|
||||
# clear plugin events
|
||||
self.db.sql.execute("DELETE FROM Plugins_Events")
|
||||
self.save()
|
||||
|
||||
Reference in new issue
Block a user