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

@@ -0,0 +1,12 @@
<?php
if ($this->is_id()) {
//$delete_query = "DELETE FROM user_kid WHERE uk_id = " . $this->get_id() . ";";
//$sql->execute_query($delete_query);
$sql->update_table('backup', array('bu_deleted' => 1), array('bu_id' => $this->get_id()));
log::register('delete_backup', $this->get_id());
header("Location: /admin/settings/3");
}
?>