Skip to content

Commit

Permalink
Merge pull request #44039 from Dreamsorcerer/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Altahrim authored Apr 18, 2024
2 parents 92fc15e + b6ade7c commit 4af9bef
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 4af9bef

Please sign in to comment.