]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/SearchController.php
Added front-end toggle and testing of inline attachments
[bookstack] / app / Http / Controllers / SearchController.php
index 1f77e6377ed3bf13c8fb5aecce56036157e9a5fb..8598575004f04a5e1c679288e6f5d7060b57a54a 100644 (file)
@@ -1,6 +1,5 @@
 <?php namespace BookStack\Http\Controllers;
 
-use BookStack\Actions\ViewService;
 use BookStack\Entities\Queries\Popular;
 use BookStack\Entities\Tools\SearchRunner;
 use BookStack\Entities\Tools\ShelfContext;
@@ -10,16 +9,13 @@ use Illuminate\Http\Request;
 
 class SearchController extends Controller
 {
-    protected $viewService;
     protected $searchRunner;
     protected $entityContextManager;
 
     public function __construct(
-        ViewService $viewService,
         SearchRunner $searchRunner,
         ShelfContext $entityContextManager
     ) {
-        $this->viewService = $viewService;
         $this->searchRunner = $searchRunner;
         $this->entityContextManager = $entityContextManager;
     }