Merge pull request #2231 from julceslauhub/master
IMPROVEMENT for the new option '+force' in the cron file
This commit is contained in:
@@ -62,6 +62,7 @@ if (file_exists(PATH_DATA . "cron")) {
|
|||||||
for ($i = 1; $i <= count($argv) - 1; $i++) {
|
for ($i = 1; $i <= count($argv) - 1; $i++) {
|
||||||
if (strpos($argv[$i], "+force") !== false) {
|
if (strpos($argv[$i], "+force") !== false) {
|
||||||
$force = true;
|
$force = true;
|
||||||
|
unset($argv[$i]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user