Update user category exclusion handling in API and APIv2

This commit is contained in:
DariusIII
2018-12-12 20:43:14 +01:00
parent 327b6be8b2
commit 3b311188bc
7 changed files with 22 additions and 9 deletions
+2 -2
View File
@@ -122,9 +122,9 @@ class RssController extends BasePageController
];
if ($userCat === -3) {
$relData = $rss->getShowsRss($userNum, $uid, User::getCategoryExclusion($uid), $userAirDate);
$relData = $rss->getShowsRss($userNum, $uid, User::getCategoryExclusionById($uid), $userAirDate);
} elseif ($userCat === -4) {
$relData = $rss->getMyMoviesRss($userNum, $uid, User::getCategoryExclusion($uid));
$relData = $rss->getMyMoviesRss($userNum, $uid, User::getCategoryExclusionById($uid));
} else {
$relData = $rss->getRss(explode(',', $userCat), $userShow, $userAnidb, $uid, $userAirDate, $userLimit, $userNum);
}