From 8cbfd04db6aeaf3b0d6ed9be08eb1fa8452e7144 Mon Sep 17 00:00:00 2001 From: Ingo Ratsdorf Date: Tue, 16 Sep 2025 07:49:17 +1200 Subject: [PATCH] Renamed sub for readability --- server/__main__.py | 2 +- server/models/notification_instance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()