mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Begin refactoring Tasks to be apart of the Scheduler system
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
namespace Pterodactyl\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Pterodactyl\Repositories\UserRepository;
|
||||
use Pterodactyl\Services\Users\UserCreationService;
|
||||
|
||||
class MakeUser extends Command
|
||||
@@ -60,8 +59,7 @@ class MakeUser extends Command
|
||||
*/
|
||||
public function __construct(
|
||||
UserCreationService $creationService
|
||||
)
|
||||
{
|
||||
) {
|
||||
parent::__construct();
|
||||
$this->creationService = $creationService;
|
||||
}
|
||||
@@ -87,7 +85,6 @@ class MakeUser extends Command
|
||||
$data['root_admin'] = is_null($this->option('admin')) ? $this->confirm('Is this user a root administrator?') : $this->option('admin');
|
||||
|
||||
try {
|
||||
|
||||
$this->creationService->handle($data);
|
||||
|
||||
return $this->info('User successfully created.');
|
||||
|
||||
Reference in New Issue
Block a user