aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-11-01 03:49:01 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2015-11-08 03:29:37 +0100
commit900ccd79af816d8d54e6974e9163d9999a823513 (patch)
tree6b44dded82945d3be6341ef84ec80bfe47fae1bf /phpBB/phpbb/cron
parent081424a6c45eb05bad7b2b15a445c33d40fdc1a6 (diff)
downloadforums-900ccd79af816d8d54e6974e9163d9999a823513.tar
forums-900ccd79af816d8d54e6974e9163d9999a823513.tar.gz
forums-900ccd79af816d8d54e6974e9163d9999a823513.tar.bz2
forums-900ccd79af816d8d54e6974e9163d9999a823513.tar.xz
forums-900ccd79af816d8d54e6974e9163d9999a823513.zip
[ticket/14257] Fix CLI reparser and set cron interval
PHPBB3-14257
Diffstat (limited to 'phpBB/phpbb/cron')
-rw-r--r--phpBB/phpbb/cron/task/text_reparser/reparser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/cron/task/text_reparser/reparser.php b/phpBB/phpbb/cron/task/text_reparser/reparser.php
index 9ce886a6d9..aa644de827 100644
--- a/phpBB/phpbb/cron/task/text_reparser/reparser.php
+++ b/phpBB/phpbb/cron/task/text_reparser/reparser.php
@@ -122,7 +122,7 @@ class reparser extends \phpbb\cron\task\base
}
}
- if ($this->config[$this->reparser_name . '_cron_interval'] != -1)
+ if ($this->config[$this->reparser_name . '_cron_interval'])
{
return $this->config[$this->reparser_name . '_last_cron'] < time() - $this->config[$this->reparser_name . '_cron_interval'];
}