diff --git a/hwe/sammo/API/Global/GetConst.php b/hwe/sammo/API/Global/GetConst.php index dd5eadbd..491dce2f 100644 --- a/hwe/sammo/API/Global/GetConst.php +++ b/hwe/sammo/API/Global/GetConst.php @@ -25,11 +25,6 @@ class GetConst extends \sammo\BaseAPI private ?string $cacheKey = null; - public function __construct(string $rootPath, array $args) - { - parent::__construct($rootPath, $args); - } - public function validateArgs(): ?string { return null; @@ -37,7 +32,7 @@ class GetConst extends \sammo\BaseAPI public function getRequiredSessionMode(): int { - return static::REQ_LOGIN; + return static::REQ_LOGIN | static::REQ_READ_ONLY; } public function findLastModified(): ?int