aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/cron.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-30 22:52:01 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-30 22:52:01 +0200
commita6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d (patch)
treef3ade92acbc5127c27b46d450c1d1d29b905c921 /phpBB/cron.php
parentbbb83c09c0f53fda26ff0d06083bf900f4babdae (diff)
parentcc41e2eef7b22f0a2c5960589620867fe7b987d5 (diff)
downloadforums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar.gz
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar.bz2
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar.xz
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.zip
Merge pull request #2523 from bantu/ticket/12597
[ticket/12597] Command for executing all available cron tasks * bantu/ticket/12597: [ticket/12597] Update USE_SYSTEM_CRON_EXPLAIN to be a bit more verbose. [ticket/12597] Improve language for cron:run command. [ticket/12597] Do not output anything besides the gif image.
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r--phpBB/cron.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 611d5d4aaf..8bb49bd5d2 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -41,8 +41,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', '');
@@ -68,12 +66,4 @@ if ($cron_lock->acquire())
}
}
$cron_lock->release();
-
-}
-else
-{
- if (defined('DEBUG'))
- {
- echo $user->lang('CRON_LOCK_ERROR') . "\n";
- }
}