diff options
Diffstat (limited to 'src/UserModule.php')
-rw-r--r-- | src/UserModule.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/UserModule.php b/src/UserModule.php index c230976..7347fed 100644 --- a/src/UserModule.php +++ b/src/UserModule.php @@ -40,7 +40,7 @@ class UserModule extends Module /** * @inheritDoc */ - public function getCommands(): array + public function execute(): void { if ($this->state === State::PRESENT) { Connection::exec(implode(PHP_EOL, [ @@ -53,7 +53,5 @@ class UserModule extends Module else if ($this->state === State::ABSENT) { Connection::exec("sudo userdel $this->username"); } - - return []; } } |