mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Complete base implementation of services for administrative server creation
This commit is contained in:
@@ -103,11 +103,12 @@ class VariableValidatorService
|
||||
/**
|
||||
* Set this function to be running at the administrative level.
|
||||
*
|
||||
* @param bool $bool
|
||||
* @return $this
|
||||
*/
|
||||
public function setAdmin()
|
||||
public function isAdmin($bool = true)
|
||||
{
|
||||
$this->isAdmin = true;
|
||||
$this->isAdmin = $bool;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user