Plugins base (#613)

* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
This commit is contained in:
Saeed Vaziry
2025-06-14 14:35:18 +02:00
committed by GitHub
parent adc0653d15
commit 131b828807
311 changed files with 3976 additions and 2660 deletions

View File

@ -38,26 +38,26 @@ public function delete(User $user, Service $service): bool
public function start(User $user, Service $service): bool
{
return $this->update($user, $service) && $service->unit;
return $this->update($user, $service);
}
public function stop(User $user, Service $service): bool
{
return $this->update($user, $service) && $service->unit;
return $this->update($user, $service);
}
public function restart(User $user, Service $service): bool
{
return $this->update($user, $service) && $service->unit;
return $this->update($user, $service);
}
public function disable(User $user, Service $service): bool
{
return $this->update($user, $service) && $service->unit;
return $this->update($user, $service);
}
public function enable(User $user, Service $service): bool
{
return $this->update($user, $service) && $service->unit;
return $this->update($user, $service);
}
}