mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 17:02:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user