Update handling of user and role disabled categories

This commit is contained in:
DariusIII
2018-08-07 01:20:57 +02:00
parent 23fa6045cd
commit 889d426c85
7 changed files with 46 additions and 216 deletions
@@ -13,7 +13,6 @@ use App\Models\UserDownload;
use Illuminate\Http\Request;
use App\Models\ReleaseComment;
use Blacklight\utility\Utility;
use App\Models\UserExcludedCategory;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Mail;
use Jrean\UserVerification\Facades\UserVerification;
@@ -90,7 +89,6 @@ class ProfileController extends BasePageController
$this->smarty->assign(
[
'commentslist' => ReleaseComment::getCommentsForUserRange($userID),
'exccats' => implode(',', UserExcludedCategory::getCategoryExclusionNames($userID)),
'saburl' => $sab->url,
'sabapikey' => $sab->apikey,
'sabapikeytype' => $sab->apikeytype !== '' ? $sabApiKeyTypes[$sab->apikeytype] : '',