forked from extern/egroupware
fix Scrutinizer docu bug: Api\Db has no more support for Halt_On_Error attribute
This commit is contained in:
parent
bcec596fff
commit
4dbd49d285
@ -410,12 +410,6 @@ class Backup
|
||||
return lang("Cant open '%1' for %2", $filename, lang("reading"))."<br>\n";
|
||||
}
|
||||
}
|
||||
// do not stop if for whatever reason some sql statement fails
|
||||
if ($this->db->Halt_On_Error != 'no')
|
||||
{
|
||||
$backup_db_halt_on_error = $this->db->Halt_On_Error;
|
||||
$this->db->Halt_On_Error = 'no';
|
||||
}
|
||||
$this->db_restore($f, $insert_n_rows);
|
||||
|
||||
if ($convert_to_system_charset) // store the changed charset
|
||||
@ -464,11 +458,6 @@ class Backup
|
||||
),__LINE__,__FILE__);
|
||||
}
|
||||
}
|
||||
// restore original Halt_On_Error state (if changed)
|
||||
if ($backup_db_halt_on_error)
|
||||
{
|
||||
$this->db->Halt_On_Error = $backup_db_halt_on_error;
|
||||
}
|
||||
// zip?
|
||||
if($type == 'zip')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user