From 51db754215ae03e21fe3fc34e38535fd1e40e621 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 16 Feb 2013 15:32:20 +0100 Subject: [PATCH] Added events --- .../files/lib/system/cronjob/DailyCleanUpCronjob.class.php | 3 +++ .../files/lib/system/cronjob/HourlyCleanUpCronjob.class.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php index 85dd8e1033..a6ab0b564d 100644 --- a/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php @@ -1,6 +1,7 @@ execute(array( (TIME_NOW - (86400 * 30)) )); + + EventHandler::getInstance()->fireAction($this, 'execute'); } } diff --git a/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php index dee30ce6a7..2f729f73d8 100644 --- a/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php @@ -1,6 +1,7 @@ fireAction($this, 'execute'); } } -- 2.20.1