mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:10:12 +00:00
Changes after review
This commit is contained in:
parent
f022a49f9e
commit
8e397b5849
9 changed files with 38 additions and 38 deletions
|
@ -1264,7 +1264,7 @@ class Worker
|
|||
|
||||
$command = array_shift($args);
|
||||
$parameters = json_encode($args);
|
||||
$queue = DBA::selectFirst('workerqueue', [], ['command' => $command, 'parameter' => $parameters, 'done' => false]);
|
||||
$queue = DBA::selectFirst('workerqueue', ['id', 'priority'], ['command' => $command, 'parameter' => $parameters, 'done' => false]);
|
||||
$added = 0;
|
||||
|
||||
if (!is_int($priority) || !in_array($priority, self::PRIORITIES)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue