mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -817,9 +817,10 @@ class Forking extends \fork_daemon
|
||||
{
|
||||
if ((int) Settings::settingValue('..lookupnfo') === 1) {
|
||||
$this->nfoQueryString = Nfo::NfoQueryString($this->pdo);
|
||||
return ($this->pdo->queryOneRow(sprintf('SELECT r.id FROM releases r WHERE 1=1 %s LIMIT 1', $this->nfoQueryString)) !== false
|
||||
);
|
||||
|
||||
return $this->pdo->queryOneRow(sprintf('SELECT r.id FROM releases r WHERE 1=1 %s LIMIT 1', $this->nfoQueryString)) !== false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -845,6 +846,7 @@ class Forking extends \fork_daemon
|
||||
);
|
||||
$maxProcesses = Settings::settingValue('..nfothreads');
|
||||
}
|
||||
|
||||
return $maxProcesses;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user