From 2ae8a0af4aaa6fee650b7a18c94091b600bf5ea7 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 16 Jun 2017 15:41:41 +0200 Subject: [PATCH] Revert XXX class idcheck to -2. --- nntmux/XXX.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nntmux/XXX.php b/nntmux/XXX.php index 608638e9f..29141ce13 100755 --- a/nntmux/XXX.php +++ b/nntmux/XXX.php @@ -628,8 +628,8 @@ class XXX } $res = $mov->getAll(); } else { - // Nothing was found, go ahead and set to -6 - return AdultMovies::NO_MATCH_FOUND; + // Nothing was found, go ahead and set to -2 + return -2; } $res['cast'] = !empty($res['cast']) ? implode(',', $res['cast']) : ''; @@ -675,7 +675,7 @@ class XXX $this->pdo->queryExec(sprintf('UPDATE xxxinfo SET cover = %d, backdrop = %d WHERE id = %d', $mov['cover'], $mov['backdrop'], $xxxID)); } else { - $xxxID = AdultMovies::NO_MATCH_FOUND; + $xxxID = -2; } // Insert New XXX Information @@ -739,7 +739,7 @@ class XXX // Loop over releases. foreach ($res as $arr) { - $idcheck = AdultMovies::NO_MATCH_FOUND; + $idcheck = -2; // Try to get a name. if ($this->parseXXXSearchName($arr['searchname']) !== false) {