Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: regression with updating read-only config
Signed-off-by: Sam Bull <[email protected]>
  • Loading branch information
Dreamsorcerer authored and backportbot[bot] committed Apr 18, 2024
commit 6ff1f464ce8591e734562de8fe0443fb2934a1e4
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