From bff7cd860071b282d7a0e5fa90b8ab9a72d133fa Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 9 May 2016 12:30:28 +0200 Subject: [PATCH] Replace python requestid_threaded with php equivalent in ProcessReleases class. --- Changelog | 1 + newznab/processing/ProcessReleases.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index 299120af2..9d8728d49 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2016-05-09 DariusIII + * Chg: Replace python requestid_threaded with php equivalent in ProcessReleases class. * Upd: Change categoryid to categories_id, category table to categories table 2016-05-08 DariusIII * Upd: Composer replace qtip2 with qtip2-main diff --git a/newznab/processing/ProcessReleases.php b/newznab/processing/ProcessReleases.php index 85f5d7bdd..91e46fef2 100644 --- a/newznab/processing/ProcessReleases.php +++ b/newznab/processing/ProcessReleases.php @@ -184,8 +184,6 @@ class ProcessReleases $this->deleteUnwantedCollections($groupID); $DIR = NN_MISC; - $PYTHON = shell_exec('which python3 2>/dev/null'); - $PYTHON = (empty($PYTHON) ? 'python -OOu' : 'python3 -OOu'); $totalReleasesAdded = 0; do { @@ -203,7 +201,7 @@ class ProcessReleases if ($this->echoCLI) { $this->pdo->log->doEcho($this->pdo->log->header("Process Releases -> Request id Threaded lookup.")); } - passthru("$PYTHON ${DIR}update/nix/requestid_threaded.py"); + passthru("{$DIR}update/nix/multiprocessing/requestid.php"); if ($this->echoCLI) { $this->pdo->log->doEcho( $this->pdo->log->primary(