No approval of a $rootPath variable

i don't even know the actual use for the $rootPath variable
This commit is contained in:
purple 2023-03-29 10:28:51 +02:00
parent 4278628f46
commit 93c891a815
2 changed files with 2 additions and 4 deletions

View file

@ -37,7 +37,6 @@ class BlueprintExtensionController extends Controller
*/ */
public function index(): View public function index(): View
{ {
$rootPath = "/admin/extensions/blueprint";
$a = $this->bp->a(); $a = $this->bp->a();
$b = $this->bp->b(); $b = $this->bp->b();
$c = $this->bp->c(); $c = $this->bp->c();
@ -45,7 +44,7 @@ class BlueprintExtensionController extends Controller
'admin.extensions.blueprint.index', [ 'admin.extensions.blueprint.index', [
'version' => $this->version, 'version' => $this->version,
'bp' => $this->bp, 'bp' => $this->bp,
'root' => $rootPath, 'root' => "/admin/extensions/blueprint",
'a' => $a, 'a' => $a,
'b' => $b, 'b' => $b,
'c' => $c, 'c' => $c,

View file

@ -22,7 +22,6 @@ class ExtensionsController extends Controller
*/ */
public function index(): View public function index(): View
{ {
$rootPath = "/admin/extensions"; return $this->view->make('admin.extensions', ['version' => $this->version, 'bp' => $this->bp, 'root' => "/admin/extensions"]);
return $this->view->make('admin.extensions', ['version' => $this->version, 'bp' => $this->bp, 'root' => $rootPath]);
} }
} }