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…
Reference in New Issue