summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-05-26 13:59:25 +0200
committerGitHub <noreply@github.com>2024-05-26 13:59:25 +0200
commitea2747008579eb191b4925bd5fad58d29a5a8832 (patch)
treecd076ad1a43690fa8ae59be09ffdd11c3ce52a69
parentb127e020ec7edb4ae2bde89e3eaea13bd081f494 (diff)
parentaafe8c27685a554fc9c0afdb12588cccfbe1ee0c (diff)
downloadnextcloud-server-ea2747008579eb191b4925bd5fad58d29a5a8832.tar.gz
nextcloud-server-ea2747008579eb191b4925bd5fad58d29a5a8832.zip
Merge pull request #44925 from nextcloud/backport/44039/stable27
[stable27] fix: regression with updating read-only config
-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 3ea822101df..5a1e2890e1b 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]);