summaryrefslogtreecommitdiff
path: root/src/UserModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/UserModule.php')
-rw-r--r--src/UserModule.php4
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 [];
}
}