@@ -26,14 +26,11 @@ |
||
26 | 26 | |
27 | 27 | use Alert; |
28 | 28 | use Log; |
29 | - |
|
30 | 29 | use Pterodactyl\Models; |
31 | - |
|
32 | 30 | use Pterodactyl\Repositories\APIRepository; |
33 | 31 | use Pterodactyl\Exceptions\DisplayValidationException; |
34 | 32 | use Pterodactyl\Exceptions\DisplayException; |
35 | 33 | use Pterodactyl\Http\Controllers\Controller; |
36 | - |
|
37 | 34 | use Illuminate\Http\Request; |
38 | 35 | |
39 | 36 | class APIController extends Controller |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use Pterodactyl\Models\Server; |
28 | 28 | use Pterodactyl\Http\Controllers\Controller; |
29 | - |
|
30 | 29 | use Illuminate\Http\Request; |
31 | 30 | |
32 | 31 | class IndexController extends Controller |
@@ -25,7 +25,6 @@ |
||
25 | 25 | |
26 | 26 | use Auth; |
27 | 27 | use Session; |
28 | - |
|
29 | 28 | use Pterodactyl\Models\User; |
30 | 29 | use Illuminate\Http\Request; |
31 | 30 | use Pterodactyl\Http\Controllers\Controller; |
@@ -26,10 +26,8 @@ |
||
26 | 26 | |
27 | 27 | use Google2FA; |
28 | 28 | use Alert; |
29 | - |
|
30 | 29 | use Pterodactyl\Models\Session; |
31 | 30 | use Pterodactyl\Http\Controllers\Controller; |
32 | - |
|
33 | 31 | use Illuminate\Http\Request; |
34 | 32 | |
35 | 33 | class SecurityController extends Controller |
@@ -24,9 +24,7 @@ |
||
24 | 24 | namespace Pterodactyl\Http\Controllers\Remote; |
25 | 25 | |
26 | 26 | use Pterodactyl\Models; |
27 | -use Pterodactyl\Exceptions\DisplayException; |
|
28 | 27 | use Pterodactyl\Services\NotificationService; |
29 | - |
|
30 | 28 | use Pterodactyl\Http\Controllers\Controller; |
31 | 29 | use Illuminate\Http\Request; |
32 | 30 |
@@ -25,15 +25,11 @@ |
||
25 | 25 | |
26 | 26 | use Log; |
27 | 27 | use Pterodactyl\Models; |
28 | - |
|
29 | 28 | use Pterodactyl\Exceptions\DisplayException; |
30 | 29 | use Pterodactyl\Exceptions\DisplayValidationException; |
31 | - |
|
32 | 30 | use Pterodactyl\Repositories; |
33 | 31 | use Pterodactyl\Http\Controllers\Controller; |
34 | 32 | use Illuminate\Http\Request; |
35 | - |
|
36 | -use GuzzleHttp\Client; |
|
37 | 33 | use GuzzleHttp\Exception\RequestException; |
38 | 34 | |
39 | 35 | class AjaxController extends Controller |
@@ -23,21 +23,17 @@ |
||
23 | 23 | */ |
24 | 24 | namespace Pterodactyl\Http\Controllers\Server; |
25 | 25 | |
26 | -use Auth; |
|
27 | 26 | use DB; |
28 | 27 | use Uuid; |
29 | 28 | use Alert; |
30 | 29 | use Log; |
31 | - |
|
32 | 30 | use Pterodactyl\Models; |
33 | 31 | use Pterodactyl\Exceptions\DisplayException; |
34 | 32 | use Pterodactyl\Exceptions\DisplayValidationException; |
35 | 33 | use Pterodactyl\Repositories\Daemon\FileRepository; |
36 | 34 | use Pterodactyl\Repositories\ServerRepository; |
37 | - |
|
38 | 35 | use Pterodactyl\Http\Controllers\Controller; |
39 | 36 | use Illuminate\Http\Request; |
40 | - |
|
41 | 37 | use InvalidArgumentException; |
42 | 38 | |
43 | 39 | class ServerController extends Controller |
@@ -27,13 +27,10 @@ |
||
27 | 27 | use Auth; |
28 | 28 | use Alert; |
29 | 29 | use Log; |
30 | - |
|
31 | 30 | use Pterodactyl\Models; |
32 | 31 | use Pterodactyl\Repositories\SubuserRepository; |
33 | - |
|
34 | 32 | use Pterodactyl\Exceptions\DisplayException; |
35 | 33 | use Pterodactyl\Exceptions\DisplayValidationException; |
36 | - |
|
37 | 34 | use Illuminate\Http\Request; |
38 | 35 | use Pterodactyl\Http\Controllers\Controller; |
39 | 36 |
@@ -25,13 +25,10 @@ |
||
25 | 25 | |
26 | 26 | use Alert; |
27 | 27 | use Log; |
28 | -use Cron; |
|
29 | - |
|
30 | 28 | use Pterodactyl\Repositories; |
31 | 29 | use Pterodactyl\Models; |
32 | 30 | use Pterodactyl\Exceptions\DisplayException; |
33 | 31 | use Pterodactyl\Exceptions\DisplayValidationException; |
34 | - |
|
35 | 32 | use Pterodactyl\Http\Controllers\Controller; |
36 | 33 | use Illuminate\Http\Request; |
37 | 34 |