From: Marcel Werk Date: Sat, 16 Feb 2013 14:32:20 +0000 (+0100) Subject: Added events X-Git-Tag: 2.0.0_Beta_1~476^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=51db754215ae03e21fe3fc34e38535fd1e40e621;p=GitHub%2FWoltLab%2FWCF.git Added events --- 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'); } }