@@ -24,7 +24,6 @@ |
||
| 24 | 24 | namespace Pterodactyl\Console\Commands; |
| 25 | 25 | |
| 26 | 26 | use DB; |
| 27 | - |
|
| 28 | 27 | use Illuminate\Console\Command; |
| 29 | 28 | |
| 30 | 29 | class ClearServices extends Command |
@@ -23,14 +23,11 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | namespace Pterodactyl\Console\Commands; |
| 25 | 25 | |
| 26 | -use DB; |
|
| 27 | 26 | use Carbon; |
| 28 | 27 | use Pterodactyl\Models; |
| 29 | 28 | use Illuminate\Console\Command; |
| 30 | 29 | use Illuminate\Foundation\Bus\DispatchesJobs; |
| 31 | 30 | |
| 32 | -use Pterodactyl\Jobs\SendScheduledTask; |
|
| 33 | - |
|
| 34 | 31 | class ClearTasks extends Command |
| 35 | 32 | { |
| 36 | 33 | |
@@ -23,9 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | namespace Pterodactyl\Console\Commands; |
| 25 | 25 | |
| 26 | -use Hash; |
|
| 27 | 26 | use Illuminate\Console\Command; |
| 28 | - |
|
| 29 | 27 | use Pterodactyl\Repositories\UserRepository; |
| 30 | 28 | |
| 31 | 29 | class MakeUser extends Command |
@@ -23,12 +23,10 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | namespace Pterodactyl\Console\Commands; |
| 25 | 25 | |
| 26 | -use DB; |
|
| 27 | 26 | use Carbon; |
| 28 | 27 | use Pterodactyl\Models; |
| 29 | 28 | use Illuminate\Console\Command; |
| 30 | 29 | use Illuminate\Foundation\Bus\DispatchesJobs; |
| 31 | - |
|
| 32 | 30 | use Pterodactyl\Jobs\SendScheduledTask; |
| 33 | 31 | |
| 34 | 32 | class RunTasks extends Command |
@@ -3,12 +3,8 @@ |
||
| 3 | 3 | namespace Pterodactyl\Exceptions; |
| 4 | 4 | |
| 5 | 5 | use Log; |
| 6 | - |
|
| 7 | 6 | use Exception; |
| 8 | 7 | use DisplayException; |
| 9 | -use DisplayValidationException; |
|
| 10 | -use AccountNotFoundException; |
|
| 11 | - |
|
| 12 | 8 | use Illuminate\Auth\AuthenticationException; |
| 13 | 9 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
| 14 | 10 | |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | use Alert; |
| 27 | 27 | use Settings; |
| 28 | 28 | use Validator; |
| 29 | - |
|
| 30 | 29 | use Pterodactyl\Http\Controllers\Controller; |
| 31 | 30 | use Illuminate\Http\Request; |
| 32 | 31 | |
@@ -26,12 +26,10 @@ |
||
| 26 | 26 | use Alert; |
| 27 | 27 | use DB; |
| 28 | 28 | use Log; |
| 29 | - |
|
| 30 | 29 | use Pterodactyl\Models; |
| 31 | 30 | use Pterodactyl\Repositories\DatabaseRepository; |
| 32 | 31 | use Pterodactyl\Exceptions\DisplayException; |
| 33 | 32 | use Pterodactyl\Exceptions\DisplayValidationException; |
| 34 | - |
|
| 35 | 33 | use Pterodactyl\Http\Controllers\Controller; |
| 36 | 34 | use Illuminate\Http\Request; |
| 37 | 35 | |
@@ -25,14 +25,11 @@ |
||
| 25 | 25 | |
| 26 | 26 | use DB; |
| 27 | 27 | use Alert; |
| 28 | - |
|
| 29 | 28 | use Pterodactyl\Models; |
| 30 | 29 | use Pterodactyl\Repositories\LocationRepository; |
| 31 | 30 | use Pterodactyl\Http\Controllers\Controller; |
| 32 | - |
|
| 33 | 31 | use Pterodactyl\Exceptions\DisplayValidationException; |
| 34 | 32 | use Pterodactyl\Exceptions\DisplayException; |
| 35 | - |
|
| 36 | 33 | use Illuminate\Http\Request; |
| 37 | 34 | |
| 38 | 35 | class LocationsController extends Controller |
@@ -24,16 +24,13 @@ |
||
| 24 | 24 | namespace Pterodactyl\Http\Controllers\Admin; |
| 25 | 25 | |
| 26 | 26 | use Alert; |
| 27 | -use Debugbar; |
|
| 28 | 27 | use Log; |
| 29 | 28 | use DB; |
| 30 | 29 | use Validator; |
| 31 | - |
|
| 32 | 30 | use Pterodactyl\Models; |
| 33 | 31 | use Pterodactyl\Repositories\NodeRepository; |
| 34 | 32 | use Pterodactyl\Exceptions\DisplayException; |
| 35 | 33 | use Pterodactyl\Exceptions\DisplayValidationException; |
| 36 | - |
|
| 37 | 34 | use Pterodactyl\Http\Controllers\Controller; |
| 38 | 35 | use Illuminate\Http\Request; |
| 39 | 36 | |