Skip to content

Commit ccfdc97

Browse files
Dreamsorcererskjnldsv
authored andcommitted
fix: regression with updating read-only config
Signed-off-by: Sam Bull <[email protected]>
1 parent 8ed2df8 commit ccfdc97

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: lib/private/Config.php

-4
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)