diff --git a/Blacklight/http/BasePage.php b/Blacklight/http/BasePage.php index 3bbea6dc8..991880189 100644 --- a/Blacklight/http/BasePage.php +++ b/Blacklight/http/BasePage.php @@ -4,14 +4,14 @@ namespace Blacklight\http; require_once NN_LIB.'utility/SmartyUtils.php'; -use App\Models\Category; -use App\Models\Forumpost; use App\Models\Menu; use App\Models\User; -use Blacklight\Contents; use Blacklight\db\DB; use Blacklight\SABnzbd; +use App\Models\Category; use App\Models\Settings; +use Blacklight\Contents; +use App\Models\Forumpost; use Ytake\LaravelSmarty\Smarty; use App\Models\RoleExcludedCategory; use Illuminate\Support\Facades\Auth; @@ -360,7 +360,7 @@ class BasePage } /** - * Setup user preferences + * Setup user preferences. * * * @throws \Exception @@ -415,9 +415,6 @@ class BasePage $this->smarty->assign('header_menu', $header_menu); } - /** - * - */ public function setAdminPrefs() { // Tell Smarty which directories to use for templates diff --git a/public/admin/ajax.php b/public/admin/ajax.php index dc3bee478..432b274cd 100644 --- a/public/admin/ajax.php +++ b/public/admin/ajax.php @@ -5,8 +5,8 @@ use Blacklight\db\DB; use Blacklight\Regexes; use Blacklight\Sharing; use Blacklight\Binaries; -use App\Models\ReleaseComment; use Blacklight\http\BasePage; +use App\Models\ReleaseComment; $page = new BasePage(); diff --git a/public/admin/ajax_sharing_settings.php b/public/admin/ajax_sharing_settings.php index c6ac3d32a..9a205dbc5 100644 --- a/public/admin/ajax_sharing_settings.php +++ b/public/admin/ajax_sharing_settings.php @@ -4,8 +4,8 @@ require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'resources/views/themes/sma use Blacklight\db\DB; use Blacklight\Sharing; -use App\Models\ReleaseComment; use Blacklight\http\BasePage; +use App\Models\ReleaseComment; $page = new BasePage(); diff --git a/public/admin/comments-list.php b/public/admin/comments-list.php index 2f627055c..f3bbf28fa 100644 --- a/public/admin/comments-list.php +++ b/public/admin/comments-list.php @@ -1,7 +1,7 @@ setAdminPrefs(); - $pdo = new DB(); $nzb = new NZB();