Hide statistics page for now

This commit is contained in:
Dane Everitt 2020-04-12 16:03:41 -07:00
parent 07381da8fb
commit 7115209b60
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 5 deletions

View file

@ -9,6 +9,7 @@ use Pterodactyl\Contracts\Repository\NodeRepositoryInterface;
use Pterodactyl\Contracts\Repository\UserRepositoryInterface;
use Pterodactyl\Contracts\Repository\ServerRepositoryInterface;
use Pterodactyl\Contracts\Repository\DatabaseRepositoryInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Pterodactyl\Contracts\Repository\AllocationRepositoryInterface;
class StatisticsController extends Controller
@ -45,6 +46,7 @@ class StatisticsController extends Controller
public function index()
{
throw new NotFoundHttpException;
$servers = $this->serverRepository->all();
$nodes = $this->nodeRepository->all();
$usersCount = $this->userRepository->count();