From eadbc774e3fed4513d217db2aa786d777a3838b2 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 18 Apr 2022 00:40:50 +0900 Subject: [PATCH] =?UTF-8?q?misc:=20Global/GetConst=20session=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/API/Global/GetConst.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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