Fix couple of leftover lines pointing to non-existing functions

This commit is contained in:
DariusIII
2019-01-01 15:09:29 +01:00
parent 3cd0032270
commit 503283f398
5 changed files with 3 additions and 146 deletions
+2 -4
View File
@@ -705,7 +705,6 @@ class ProcessReleases
public function createNZBs($groupID): int
{
$startTime = now();
$this->formFromNamesQuery();
if ($this->echoCLI) {
$this->colorCli->header('Process Releases -> Create the NZB, delete collections/binaries/parts.');
@@ -720,9 +719,8 @@ class ProcessReleases
FROM releases r
INNER JOIN categories c ON r.categories_id = c.id
INNER JOIN categories cp ON cp.id = c.parentid
WHERE %s nzbstatus = 0 %s",
(! empty($groupID) ? ' r.groups_id = '.$groupID.' AND ' : ' '),
$this->fromNamesQuery
WHERE %s nzbstatus = 0",
! empty($groupID) ? ' r.groups_id = '.$groupID.' AND ' : ' '
)
);