f7cloud_client/apps/workflowengine/lib/Settings/Personal.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

22 lines
449 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2019 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\WorkflowEngine\Settings;
use OCP\WorkflowEngine\IManager;
class Personal extends ASettings {
public function getScope(): int {
return IManager::SCOPE_USER;
}
public function getSection(): ?string {
return $this->manager->isUserScopeEnabled() ? 'workflow' : null;
}
}