summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/cron.php b/cron.php
index 74935db0da9..b7443ef3ce2 100644
--- a/cron.php
+++ b/cron.php
@@ -152,9 +152,7 @@ try {
}
// Log the successful cron execution
- if (\OC::$server->getConfig()->getSystemValue('cron_log', true)) {
- \OC::$server->getConfig()->setAppValue('core', 'lastcron', time());
- }
+ \OC::$server->getConfig()->setAppValue('core', 'lastcron', time());
exit();
} catch (Exception $ex) {