Skip to content

Commit 4d123fd

Browse files
authored
Merge pull request #44927 from nextcloud/backport/44039/stable29
2 parents 8ed2df8 + ccfdc97 commit 4d123fd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/private/Config.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ public function setValue($key, $value) {
153153
* @throws HintException
154154
*/
155155
protected function set($key, $value) {
156-
$this->checkReadOnly();
157-
158156
if (!isset($this->cache[$key]) || $this->cache[$key] !== $value) {
159157
// Add change
160158
$this->cache[$key] = $value;
@@ -185,8 +183,6 @@ public function deleteKey($key) {
185183
* @throws HintException
186184
*/
187185
protected function delete($key) {
188-
$this->checkReadOnly();
189-
190186
if (isset($this->cache[$key])) {
191187
// Delete key from cache
192188
unset($this->cache[$key]);

0 commit comments

Comments
 (0)