aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Bull <git@sambull.org>2024-03-09 15:20:11 +0000
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-04-18 19:01:50 +0000
commit6ff1f464ce8591e734562de8fe0443fb2934a1e4 (patch)
treee0486d12758ff68c5f22c084848982ba9a0e9977
parent0a5d9827f7c67cb8ec4c7ff045b9b82c2a9170d4 (diff)
downloadnextcloud-server-6ff1f464ce8591e734562de8fe0443fb2934a1e4.tar.gz
nextcloud-server-6ff1f464ce8591e734562de8fe0443fb2934a1e4.zip
fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
-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]);