mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove support for sab, nzbget, couchpotato and nzbvortex integrations
This commit is contained in:
@@ -8,7 +8,6 @@ use App\Models\Forumpost;
|
||||
use App\Models\Settings;
|
||||
use App\Models\User;
|
||||
use Blacklight\Contents;
|
||||
use Blacklight\SABnzbd;
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
@@ -211,11 +210,6 @@ class BasePageController extends Controller
|
||||
$this->smarty->assign('weHasVortex', false);
|
||||
}
|
||||
|
||||
$sab = new SABnzbd($this);
|
||||
$this->smarty->assign('sabintegrated', $sab->integratedBool);
|
||||
if ($sab->integratedBool && $sab->url !== '' && $sab->apikey !== '') {
|
||||
$this->smarty->assign('sabapikeytype', $sab->apikeytype);
|
||||
}
|
||||
if ($this->userdata->hasRole('Admin')) {
|
||||
$this->smarty->assign('isadmin', 'true');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user