@@ -25,7 +25,6 @@ |
||
| 25 | 25 | namespace Pterodactyl\Repositories\Daemon; |
| 26 | 26 | |
| 27 | 27 | use Exception; |
| 28 | -use GuzzleHttp\Client; |
|
| 29 | 28 | use Pterodactyl\Models\Server; |
| 30 | 29 | use Pterodactyl\Exceptions\DisplayException; |
| 31 | 30 | use Pterodactyl\Repositories\HelperRepository; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace Pterodactyl\Http\Controllers\Admin; |
| 26 | 26 | |
| 27 | -use DB; |
|
| 28 | 27 | use Log; |
| 29 | 28 | use Alert; |
| 30 | 29 | use Storage; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace Pterodactyl\Http\Controllers\Admin; |
| 26 | 26 | |
| 27 | -use DB; |
|
| 28 | 27 | use Log; |
| 29 | 28 | use Alert; |
| 30 | 29 | use Storage; |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | namespace Pterodactyl\Http\Controllers\Base; |
| 27 | 27 | |
| 28 | 28 | use Illuminate\Http\Request; |
| 29 | -use Pterodactyl\Models\Server; |
|
| 30 | 29 | use Pterodactyl\Http\Controllers\Controller; |
| 31 | 30 | |
| 32 | 31 | class IndexController extends Controller |
@@ -133,7 +133,6 @@ |
||
| 133 | 133 | /** |
| 134 | 134 | * Returns non-administrative headers for accessing a server on the daemon. |
| 135 | 135 | * |
| 136 | - * @param string $uuid |
|
| 137 | 136 | * @return array |
| 138 | 137 | */ |
| 139 | 138 | public function guzzleHeaders() |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace Pterodactyl\Http\Controllers\Admin; |
| 26 | 26 | |
| 27 | -use DB; |
|
| 28 | 27 | use Log; |
| 29 | 28 | use Alert; |
| 30 | 29 | use Pterodactyl\Models; |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | use Alert; |
| 30 | 30 | use Illuminate\Http\Request; |
| 31 | 31 | use Pterodactyl\Models\User; |
| 32 | -use Pterodactyl\Models\Server; |
|
| 33 | 32 | use Pterodactyl\Exceptions\DisplayException; |
| 34 | 33 | use Pterodactyl\Http\Controllers\Controller; |
| 35 | 34 | use Pterodactyl\Repositories\UserRepository; |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | * Updates the password for a given database. |
| 117 | 117 | * @param int $id The ID of the database to modify. |
| 118 | 118 | * @param string $password The new password to use for the database. |
| 119 | - * @return bool |
|
| 119 | + * @return boolean|null |
|
| 120 | 120 | */ |
| 121 | 121 | public function modifyPassword($id, $password) |
| 122 | 122 | { |
@@ -25,8 +25,6 @@ |
||
| 25 | 25 | namespace Pterodactyl\Repositories; |
| 26 | 26 | |
| 27 | 27 | use DB; |
| 28 | -use Mail; |
|
| 29 | -use Settings; |
|
| 30 | 28 | use Validator; |
| 31 | 29 | use Pterodactyl\Models; |
| 32 | 30 | use Pterodactyl\Services\UuidService; |