From 57d47909b9d36c397f7d803960b3bd7cfaaae24f Mon Sep 17 00:00:00 2001 From: ro Date: Sun, 3 Mar 2024 19:50:14 -0600 Subject: [PATCH] dash controller clean up there was some stuff in there that wasn't being used anymore, so it's been removed --- app/Http/Controllers/DashController.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/app/Http/Controllers/DashController.php b/app/Http/Controllers/DashController.php index f248dc8..40fac6b 100644 --- a/app/Http/Controllers/DashController.php +++ b/app/Http/Controllers/DashController.php @@ -2,33 +2,24 @@ namespace App\Http\Controllers; -use Illuminate\Http\Request; -use App\Services\SettingsService; -use App\Services\AuthService; use App\Services\PaginateService; class DashController extends Controller { - protected $settings; protected $pages; public function __construct( - SettingsService $settingsService, - AuthService $authService, PaginateService $paginateService, ) { - $this->settings = $settingsService; - $this->auth = $authService; - $this->pages = $paginateService; + $this->pages = $paginateService; } - public function start(Request $request) + public function start() { $status = session('handle') !== null ? true : false; $result = []; if ($status) { $result = $this->pages->getPage(1, 4); - //var_dump($result['pages'][1]['media'][0]['type']); } return view('back.start', [ "status" => $status,