From 0dd073a0efaba8a456dfbc8766110af8e0c9cf01 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 16 Feb 2013 16:02:51 +0100 Subject: [PATCH] Removed obsolete events --- .../files/lib/system/cronjob/DailyCleanUpCronjob.class.php | 2 -- .../files/lib/system/cronjob/HourlyCleanUpCronjob.class.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php index 9590801b5b..6710854189 100644 --- a/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/DailyCleanUpCronjob.class.php @@ -56,7 +56,5 @@ class DailyCleanUpCronjob extends AbstractCronjob { $statement->execute(array( (TIME_NOW - 86400) )); - - 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 2f729f73d8..d2e85cd994 100644 --- a/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php @@ -19,7 +19,5 @@ class HourlyCleanUpCronjob extends AbstractCronjob { */ public function execute(Cronjob $cronjob) { parent::execute($cronjob); - - EventHandler::getInstance()->fireAction($this, 'execute'); } } -- 2.20.1