deletes and fixes

This commit is contained in:
Ricsi
2019-03-27 22:59:40 +00:00
parent 4ddc2ec2e9
commit 999ace3149
122 changed files with 522 additions and 16020 deletions

View File

@@ -1,14 +0,0 @@
<?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");
}
?>