@@ -24,15 +24,11 @@ |
||
24 | 24 | namespace Pterodactyl\Repositories\Daemon; |
25 | 25 | |
26 | 26 | use \Exception; |
27 | -use Log; |
|
28 | - |
|
29 | 27 | use Pterodactyl\Models\Server; |
30 | 28 | use Pterodactyl\Models\Node; |
31 | 29 | use Pterodactyl\Repositories\HelperRepository; |
32 | 30 | use Pterodactyl\Exceptions\DisplayException; |
33 | - |
|
34 | 31 | use GuzzleHttp\Client; |
35 | -use GuzzleHttp\Exception\RequestException; |
|
36 | 32 | |
37 | 33 | class FileRepository |
38 | 34 | { |
@@ -26,9 +26,6 @@ |
||
26 | 26 | use Pterodactyl\Models; |
27 | 27 | use Pterodactyl\Exceptions\DisplayException; |
28 | 28 | |
29 | -use GuzzleHttp\Client; |
|
30 | -use GuzzleHttp\Exception\RequestException; |
|
31 | - |
|
32 | 29 | class PowerRepository { |
33 | 30 | |
34 | 31 | protected $server; |
@@ -24,14 +24,11 @@ |
||
24 | 24 | namespace Pterodactyl\Repositories; |
25 | 25 | |
26 | 26 | use Crypt; |
27 | -use Log; |
|
28 | 27 | use DB; |
29 | 28 | use Validator; |
30 | - |
|
31 | 29 | use Pterodactyl\Models; |
32 | 30 | use Pterodactyl\Exceptions\DisplayException; |
33 | 31 | use Pterodactyl\Exceptions\DisplayValidationException; |
34 | - |
|
35 | 32 | use Illuminate\Database\Capsule\Manager as Capsule; |
36 | 33 | |
37 | 34 | class DatabaseRepository { |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace Pterodactyl\Repositories; |
25 | 25 | |
26 | 26 | use Validator; |
27 | - |
|
28 | 27 | use Pterodactyl\Models; |
29 | 28 | use Pterodactyl\Exceptions\DisplayValidationException; |
30 | 29 |
@@ -25,10 +25,8 @@ |
||
25 | 25 | |
26 | 26 | use DB; |
27 | 27 | use Validator; |
28 | - |
|
29 | 28 | use Pterodactyl\Models; |
30 | 29 | use Pterodactyl\Services\UuidService; |
31 | - |
|
32 | 30 | use IPTools\Network; |
33 | 31 | use Pterodactyl\Exceptions\DisplayException; |
34 | 32 | use Pterodactyl\Exceptions\DisplayValidationException; |
@@ -25,18 +25,14 @@ |
||
25 | 25 | |
26 | 26 | use Crypt; |
27 | 27 | use DB; |
28 | -use Debugbar; |
|
29 | 28 | use Validator; |
30 | 29 | use Log; |
31 | - |
|
32 | 30 | use Pterodactyl\Models; |
33 | 31 | use Pterodactyl\Services\UuidService; |
34 | 32 | use Pterodactyl\Services\DeploymentService; |
35 | 33 | use Pterodactyl\Notifications\ServerCreated; |
36 | 34 | use Pterodactyl\Events\ServerDeleted; |
37 | - |
|
38 | 35 | use Pterodactyl\Exceptions\DisplayException; |
39 | -use Pterodactyl\Exceptions\AccountNotFoundException; |
|
40 | 36 | use Pterodactyl\Exceptions\DisplayValidationException; |
41 | 37 | |
42 | 38 | class ServerRepository |
@@ -25,10 +25,7 @@ |
||
25 | 25 | |
26 | 26 | use DB; |
27 | 27 | use Validator; |
28 | - |
|
29 | 28 | use Pterodactyl\Models; |
30 | -use Pterodactyl\Services\UuidService; |
|
31 | - |
|
32 | 29 | use Pterodactyl\Exceptions\DisplayException; |
33 | 30 | use Pterodactyl\Exceptions\DisplayValidationException; |
34 | 31 |
@@ -26,10 +26,7 @@ |
||
26 | 26 | use DB; |
27 | 27 | use Validator; |
28 | 28 | use Uuid; |
29 | - |
|
30 | 29 | use Pterodactyl\Models; |
31 | -use Pterodactyl\Services\UuidService; |
|
32 | - |
|
33 | 30 | use Pterodactyl\Exceptions\DisplayException; |
34 | 31 | use Pterodactyl\Exceptions\DisplayValidationException; |
35 | 32 |
@@ -25,10 +25,7 @@ |
||
25 | 25 | |
26 | 26 | use DB; |
27 | 27 | use Validator; |
28 | - |
|
29 | 28 | use Pterodactyl\Models; |
30 | -use Pterodactyl\Services\UuidService; |
|
31 | - |
|
32 | 29 | use Pterodactyl\Exceptions\DisplayException; |
33 | 30 | use Pterodactyl\Exceptions\DisplayValidationException; |
34 | 31 |