aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-06-07 12:18:16 +0200
committerGitHub <noreply@github.com>2024-06-07 12:18:16 +0200
commitfc66712d59ef889f61d00ef8e243b36a6d268669 (patch)
treed434952e9bb6ce8261782aaf662005bc33bd7cf6 /lib/private
parentbf904e7faff62f49d78efaec1407dfc1e0f57ffb (diff)
parent6ff1f464ce8591e734562de8fe0443fb2934a1e4 (diff)
downloadnextcloud-server-fc66712d59ef889f61d00ef8e243b36a6d268669.tar.gz
nextcloud-server-fc66712d59ef889f61d00ef8e243b36a6d268669.zip
Merge pull request #44926 from nextcloud/backport/44039/stable28
Diffstat (limited to 'lib/private')
-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]);