mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
dc80fe59ef
commit
b005df68a2
@ -77,6 +77,9 @@ class DashboardConfig extends Config
|
||||
public function saveIni($filePath = null, $fileMode = 0660)
|
||||
{
|
||||
parent::saveIni($filePath, $fileMode);
|
||||
if ($filePath === null) {
|
||||
$filePath = $this->configFile;
|
||||
}
|
||||
foreach (static::listConfigFilesForUser($this->user) as $file) {
|
||||
if ($file !== $filePath) {
|
||||
@unlink($file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user