This commit is contained in:
2021-04-10 18:52:38 +02:00
parent f7929a0090
commit d82abe1dd3
49 changed files with 4009 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
<?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('camp', array('camp_deleted' => 1), array('camp_id' => $this->get_id()));
$new_camp = new camp();
$new_camp->set_camp_data_by_id($this->get_id());
log::register('delete_camp', $new_camp->get_camp_from() . " (" . $new_camp->get_camp_city() . ")");
header("Location: /admin/camps");
}
?>