Commit d3a1cfb8 authored by Ad Schellevis's avatar Ad Schellevis

sync with master

parent eb7ac3fa
...@@ -357,14 +357,14 @@ class Config extends Singleton ...@@ -357,14 +357,14 @@ class Config extends Singleton
/** /**
* save config to filesystem * save config to filesystem
* @param array|null $revision revision tag (associative array) * @param array|null $revision revision tag (associative array)
* @param bool $nobackup do not backup current config * @param bool $backup do not backup current config
* @throws ConfigException * @throws ConfigException
*/ */
public function save($revision = null, $nobackup = false) public function save($revision = null, $backup = true)
{ {
$this->checkvalid(); $this->checkvalid();
if ($nobackup == false) { if ($backup) {
$this->backup(); $this->backup();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment