Skip to content

Commit

Permalink
Merge pull request #44927 from nextcloud/backport/44039/stable29
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jun 7, 2024
2 parents 8ed2df8 + ccfdc97 commit 4d123fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/private/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ public function setValue($key, $value) {
* @throws HintException
*/
protected function set($key, $value) {
$this->checkReadOnly();

if (!isset($this->cache[$key]) || $this->cache[$key] !== $value) {
// Add change
$this->cache[$key] = $value;
Expand Down Expand Up @@ -185,8 +183,6 @@ public function deleteKey($key) {
* @throws HintException
*/
protected function delete($key) {
$this->checkReadOnly();

if (isset($this->cache[$key])) {
// Delete key from cache
unset($this->cache[$key]);
Expand Down

0 comments on commit 4d123fd

Please sign in to comment.