From 5065f64d64b048164979f115970d413004d51344 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sat, 17 Oct 2015 16:49:26 +0200 Subject: [PATCH] Fix missing use statements --- Changelog | 1 + .../nix_scripts/multiprocessing/.do_not_run/switch.php | 2 +- newznab/processing/ProcessReleases.php | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index d75b7f361..c3224079f 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2015-10-17 DariusIII + Fix: Missing use statements Fix: update_releases script and path to it in Forking.php Fix: Autoloading and api errors 2015-10-16 DariusIII diff --git a/misc/update_scripts/nix_scripts/multiprocessing/.do_not_run/switch.php b/misc/update_scripts/nix_scripts/multiprocessing/.do_not_run/switch.php index 2016983a7..e58164f6c 100644 --- a/misc/update_scripts/nix_scripts/multiprocessing/.do_not_run/switch.php +++ b/misc/update_scripts/nix_scripts/multiprocessing/.do_not_run/switch.php @@ -220,7 +220,7 @@ switch ($options[1]) { $backFill->backfillAllGroups($groupMySQL['name'], 20000, 'normal'); // Create releases. - processReleases(new ProcessReleases(['Settings' => $pdo]), $options[2]); + processReleases($pdo, new ProcessReleases(['Settings' => $pdo]), $options[2]); // Post process the releases. (new ProcessAdditional(['Echo' => true, 'NNTP' => $nntp, 'Settings' => $pdo]))->start($options[2]); diff --git a/newznab/processing/ProcessReleases.php b/newznab/processing/ProcessReleases.php index 403fa5066..f6239f2cc 100644 --- a/newznab/processing/ProcessReleases.php +++ b/newznab/processing/ProcessReleases.php @@ -14,6 +14,7 @@ use newznab\controllers\RequestIDLocal; use newznab\controllers\RequestIDWeb; use newznab\controllers\PreHash; use newznab\controllers\Genres; +use newznab\controllers\NNTP; class ProcessReleases {