diff options
author | Andrew Dolgov <[email protected]> | 2021-02-28 21:50:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-28 21:50:05 +0300 |
commit | b05d4e3d9ff2803b28dd68d807b57500f8c3078f (patch) | |
tree | ba9efc4fc9fe5e773a4f5fc8563058aa95a1e638 /update.php | |
parent | bf02afed45d23ebb794434d95b2b6b52eed234ee (diff) |
speed up plugin updating a bit, fix some phpstan warnings
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php index aab84bfdb..41b052f6e 100755 --- a/update.php +++ b/update.php @@ -253,7 +253,7 @@ RSSUtils::update_daemon_common(isset($options["pidlock"]) ? 50 : Config::get(Config::DAEMON_FEED_LIMIT), $options); - if (!isset($options["pidlock"]) || $options["task"] == 0) + if (!isset($options["pidlock"]) || $options["task"] == "0") RSSUtils::housekeeping_common(); PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, $options); |