mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
Saving setting in db is not intended - you can use Settings Model for that
This commit is contained in:
parent
08bea2c541
commit
130ad25c4d
@ -373,7 +373,6 @@ class Settings implements ArrayAccess
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->settingsDatabase[$pluginKeyName][$key] = $value;
|
$this->settingsDatabase[$pluginKeyName][$key] = $value;
|
||||||
$this->updateInDatabase($pluginKeyName, $key, $value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
@ -414,7 +413,6 @@ class Settings implements ArrayAccess
|
|||||||
|
|
||||||
unset($this->settingsFile[$pluginKeyName]['settings'][$key]);
|
unset($this->settingsFile[$pluginKeyName]['settings'][$key]);
|
||||||
unset($this->settingsDatabase[$pluginKeyName][$key]);
|
unset($this->settingsDatabase[$pluginKeyName][$key]);
|
||||||
$this->deleteFromDatabase($pluginKeyName, $key);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user