mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
change save -> backup default behavoir
This commit is contained in:
parent
821f5331d1
commit
331f4665d9
@ -357,14 +357,14 @@ class Config extends Singleton
|
||||
/**
|
||||
* save config to filesystem
|
||||
* @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
|
||||
*/
|
||||
public function save($revision = null, $nobackup = false)
|
||||
public function save($revision = null, $backup = true)
|
||||
{
|
||||
$this->checkvalid();
|
||||
|
||||
if ($nobackup == false) {
|
||||
if ($backup) {
|
||||
$this->backup();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user