diff --git a/server/__main__.py b/server/__main__.py index a8369299..3412dfad 100755 --- a/server/__main__.py +++ b/server/__main__.py @@ -189,7 +189,7 @@ def main (): notification.clearPendingEmailFlag() else: - notification.clearPluginObjects() + notification.clearPluginEvents() mylog('verbose', ['[Notification] No changes to report']) # Commit SQL diff --git a/server/models/notification_instance.py b/server/models/notification_instance.py index 403cbd8e..a2cfbef2 100755 --- a/server/models/notification_instance.py +++ b/server/models/notification_instance.py @@ -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()