added backup delete option

This commit is contained in:
Ricsi
2017-04-12 22:13:20 +02:00
parent accb00c567
commit af3aa3aa7c
8 changed files with 138 additions and 28 deletions

View File

@@ -23,7 +23,7 @@ if ($this->is_id()) {
elseif ($new_setting->get_setv_setting()->get_set_setting_type_st_id() == 2) {
//biztonsági mentés
$backup_assoc_array = $sql->assoc_array("SELECT * FROM backup ORDER BY bu_date DESC, bu_id DESC limit 14;");
$backup_assoc_array = $sql->assoc_array("SELECT * FROM backup WHERE bu_deleted = 0 ORDER BY bu_date DESC, bu_id DESC limit 14;");
$backups = array();
foreach ($backup_assoc_array as $value) {
$new_backup = new backup();