summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Settings/Admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/lib/Settings/Admin.php')
-rw-r--r--apps/workflowengine/lib/Settings/Admin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/workflowengine/lib/Settings/Admin.php b/apps/workflowengine/lib/Settings/Admin.php
index 39932d5f1f2..20ea8ad43c4 100644
--- a/apps/workflowengine/lib/Settings/Admin.php
+++ b/apps/workflowengine/lib/Settings/Admin.php
@@ -24,10 +24,12 @@ declare(strict_types=1);
namespace OCA\WorkflowEngine\Settings;
+use OCP\WorkflowEngine\IManager;
+
class Admin extends ASettings {
- function isAdmin(): bool {
- return true;
+ function getScope(): int {
+ return IManager::SCOPE_ADMIN;
}
}