diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-23 16:56:24 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 22:56:02 +0200 |
commit | ec36c0ae80ea50d460f2c15c16e7d9de15cafd40 (patch) | |
tree | d60c3bec5be8212430f8933743786bfe8eb476f4 /apps/workflowengine/lib/Settings/Personal.php | |
parent | 1c67357db8432174c2a80bbb9c729f4ead44ca0d (diff) | |
download | nextcloud-server-ec36c0ae80ea50d460f2c15c16e7d9de15cafd40.tar.gz nextcloud-server-ec36c0ae80ea50d460f2c15c16e7d9de15cafd40.zip |
add operator interfaces / API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/lib/Settings/Personal.php')
-rw-r--r-- | apps/workflowengine/lib/Settings/Personal.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/workflowengine/lib/Settings/Personal.php b/apps/workflowengine/lib/Settings/Personal.php index d6ed220577f..9c23a250355 100644 --- a/apps/workflowengine/lib/Settings/Personal.php +++ b/apps/workflowengine/lib/Settings/Personal.php @@ -24,9 +24,11 @@ declare(strict_types=1); namespace OCA\WorkflowEngine\Settings; +use OCP\WorkflowEngine\IManager; + class Personal extends ASettings { - function isAdmin(): bool { - return false; + function getScope(): int { + return IManager::SCOPE_USER; } } |