aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/cron.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 0cae2ea130..97d9b4b0aa 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -37,8 +37,6 @@ function output_image()
// the cron lock locked, especially when working on cron-related code.
//
// Attempt to alleviate the problem by doing setup outside of the lock as much as possible.
-//
-// If DEBUG is defined and cron lock cannot be obtained, a message will be printed.
$cron_type = request_var('cron_type', '');
@@ -64,12 +62,4 @@ if ($cron_lock->acquire())
}
}
$cron_lock->release();
-
-}
-else
-{
- if (defined('DEBUG'))
- {
- echo $user->lang('CRON_LOCK_ERROR') . "\n";
- }
}