Remove un-needed code from Admin/BaseController.php
This commit is contained in:
parent
193086548f
commit
359769244f
1 changed files with 0 additions and 17 deletions
|
@ -4,25 +4,9 @@ namespace Pterodactyl\Http\Controllers\Admin;
|
|||
|
||||
use Illuminate\View\View;
|
||||
use Pterodactyl\Http\Controllers\Controller;
|
||||
use Pterodactyl\Services\Helpers\SoftwareVersionService;
|
||||
|
||||
class BaseController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \Pterodactyl\Services\Helpers\SoftwareVersionService
|
||||
*/
|
||||
private $version;
|
||||
|
||||
/**
|
||||
* BaseController constructor.
|
||||
*
|
||||
* @param \Pterodactyl\Services\Helpers\SoftwareVersionService $version
|
||||
*/
|
||||
public function __construct(SoftwareVersionService $version)
|
||||
{
|
||||
$this->version = $version;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the admin index view.
|
||||
*
|
||||
|
@ -30,7 +14,6 @@ class BaseController extends Controller
|
|||
*/
|
||||
public function index(): View
|
||||
{
|
||||
// return view('admin.index', ['version' => $this->version]);
|
||||
return view('templates/base.core');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue