From a8894757cfe0cab25081114107ca23d64f11ecb0 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 20 Aug 2023 17:01:32 -0400 Subject: [PATCH] Rename activity logs --- app/classes/controllers/management_controller.py | 4 ++-- app/classes/models/management.py | 2 +- app/classes/web/panel_handler.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/classes/controllers/management_controller.py b/app/classes/controllers/management_controller.py index 7c423da9..cda74fea 100644 --- a/app/classes/controllers/management_controller.py +++ b/app/classes/controllers/management_controller.py @@ -79,8 +79,8 @@ class ManagementController: # Audit_Log Methods # ********************************************************************************** @staticmethod - def get_actity_log(): - return HelpersManagement.get_actity_log() + def get_activity_log(): + return HelpersManagement.get_activity_log() def add_to_audit_log(self, user_id, log_msg, server_id=None, source_ip=None): return self.management_helper.add_to_audit_log( diff --git a/app/classes/models/management.py b/app/classes/models/management.py index 2c64a8ff..51bf71a3 100644 --- a/app/classes/models/management.py +++ b/app/classes/models/management.py @@ -145,7 +145,7 @@ class HelpersManagement: # Audit_Log Methods # ********************************************************************************** @staticmethod - def get_actity_log(): + def get_activity_log(): query = AuditLog.select() return DatabaseShortcuts.return_db_rows(query) diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index f674b1fb..9d1404ef 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -1416,7 +1416,7 @@ class PanelHandler(BaseHandler): template = "panel/panel_edit_role.html" elif page == "activity_logs": - page_data["audit_logs"] = self.controller.management.get_actity_log() + page_data["audit_logs"] = self.controller.management.get_activity_log() template = "panel/activity_logs.html"