aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Config.php
diff options
context:
space:
mode:
authorSam Bull <git@sambull.org>2024-03-09 15:20:11 +0000
committerJonas <jonas@freesources.org>2024-04-18 18:40:51 +0200
commitb6ade7c8e40a4ae391ced75040037930dc7dabc7 (patch)
treea4480adc5406e8959be320ee81068f847a8ed5c5 /lib/private/Config.php
parent92fc15e75f6e58e7a6b7fccea4934bfaf91ab9b1 (diff)
downloadnextcloud-server-b6ade7c8e40a4ae391ced75040037930dc7dabc7.tar.gz
nextcloud-server-b6ade7c8e40a4ae391ced75040037930dc7dabc7.zip
fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
Diffstat (limited to 'lib/private/Config.php')
-rw-r--r--lib/private/Config.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/Config.php b/lib/private/Config.php
index 803ce859de4..f01b30d226a 100644
--- a/lib/private/Config.php
+++ b/lib/private/Config.php
@@ -153,8 +153,6 @@ class Config {
* @throws HintException
*/
protected function set($key, $value) {
- $this->checkReadOnly();
-
if (!isset($this->cache[$key]) || $this->cache[$key] !== $value) {
// Add change
$this->cache[$key] = $value;
@@ -185,8 +183,6 @@ class Config {
* @throws HintException
*/
protected function delete($key) {
- $this->checkReadOnly();
-
if (isset($this->cache[$key])) {
// Delete key from cache
unset($this->cache[$key]);