nextcloud/apps/workflowengine/lib/Settings/Personal.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
453 B
PHP
Raw Normal View History

2016-07-26 08:31:16 -04:00
<?php
declare(strict_types=1);
2016-07-26 08:31:16 -04:00
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
2016-07-26 08:31:16 -04:00
*/
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;
}
}