mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 03:01:34 +00:00
Update user category exclusion handling in API and APIv2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user