fix: 감춰진 KVStorage의 initializer를 사용하는 코드 수정

This commit is contained in:
2022-05-08 20:20:09 +09:00
parent 2b4de68f0a
commit 94bfd79afa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ $result = [];
$server = [];
$storage = new \sammo\KVStorage(RootDB::db(), 'git_path');
$storage = KVStorage::getStorage(RootDB::db(), 'git_path');
$serverGitPath = $storage->getAll();
$rootServer = Util::array_last(ServConfig::getServerList())->getShortName();
+1 -1
View File
@@ -178,7 +178,7 @@ $session = Session::requireLogin(null)->setReadOnly();
$request = $_POST + $_GET;
$rootDB = RootDB::db();
$storage = new \sammo\KVStorage($rootDB, 'git_path');
$storage = KVStorage::getStorage($rootDB, 'git_path');
$tmpFile = 'd_log/arc.zip';
$v = new Validator($request);