From 7ea6cf3f6a2013b3742ae76928ed2d25d6087b0e Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 17 Jul 2016 10:09:51 +0200 Subject: [PATCH] Fix warning about unused local variable --- .../install/files/lib/system/cronjob/CronjobScheduler.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php b/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php index 00307c4dbe..40004998f2 100644 --- a/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php @@ -110,6 +110,7 @@ class CronjobScheduler extends SingletonFactory { */ protected function loadCronjobs() { WCF::getDB()->beginTransaction(); + /** @noinspection PhpUnusedLocalVariableInspection */ $committed = false; try { $sql = "SELECT * -- 2.20.1