Push initial implementations of new repository structure
This breaks almost the entire panel, do not pull this branch in this state. Mostly just moved old repository files to a new folder without updating anything else in order to start doing new things. Structure is not finalized.
This commit is contained in:
parent
65957e7ea5
commit
5c2b9deb09
39 changed files with 1083 additions and 166 deletions
|
@ -25,7 +25,7 @@
|
|||
namespace Pterodactyl\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Pterodactyl\Repositories\UserRepository;
|
||||
use Pterodactyl\Repositories\oldUserRepository;
|
||||
|
||||
class MakeUser extends Command
|
||||
{
|
||||
|
@ -80,7 +80,7 @@ class MakeUser extends Command
|
|||
$data['root_admin'] = is_null($this->option('admin')) ? $this->confirm('Is this user a root administrator?') : $this->option('admin');
|
||||
|
||||
try {
|
||||
$user = new UserRepository;
|
||||
$user = new oldUserRepository;
|
||||
$user->create($data);
|
||||
|
||||
return $this->info('User successfully created.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue