diff --git a/api/src/Db/Backup.php b/api/src/Db/Backup.php index a93d8cac4f..c686933d55 100644 --- a/api/src/Db/Backup.php +++ b/api/src/Db/Backup.php @@ -410,12 +410,6 @@ class Backup return lang("Cant open '%1' for %2", $filename, lang("reading"))."
\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') {