mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Monitoring_ConfigController: make writeConfiguration's parameter `file' non-required
refs #6641
This commit is contained in:
parent
0464099764
commit
6b468b7f9b
@ -216,7 +216,7 @@ class Monitoring_ConfigController extends ModuleActionController
|
||||
/**
|
||||
* Display a form to remove the instance identified by the 'instance' parameter
|
||||
*/
|
||||
private function writeConfiguration($config, $file)
|
||||
private function writeConfiguration($config, $file = null)
|
||||
{
|
||||
$target = $this->Config($file)->getConfigFile();
|
||||
$writer = new PreservingIniWriter(array('filename' => $target, 'config' => $config));
|
||||
|
Loading…
x
Reference in New Issue
Block a user