Add patches to handle tables changes, adjust rest of the code for changes

This commit is contained in:
DariusIII
2016-01-15 10:03:36 +01:00
parent e9b59142a4
commit d044bbcaf1
41 changed files with 203 additions and 279 deletions
+2 -2
View File
@@ -603,7 +603,7 @@ class ProcessReleases
$preMatch = $preDB->matchPre($cleanedName);
if ($preMatch !== false) {
$cleanedName = $preMatch['title'];
$preID = $preMatch['prehashid'];
$preID = $preMatch['preid'];
$properName = true;
}
}
@@ -621,7 +621,7 @@ class ProcessReleases
'categoryid' => $categorize->determineCategory($collection['group_id'], $cleanedName),
'isrenamed' => ($properName === true ? 1 : 0),
'reqidstatus' => ($isReqID === true ? 1 : 0),
'prehashid' => ($preID === false ? 0 : $preID),
'preid' => ($preID === false ? 0 : $preID),
'nzbstatus' => NZB::NZB_NONE
]
);