summaryrefslogtreecommitdiff
path: root/src/http/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/Controller')
-rw-r--r--src/http/Controller/Event.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/Controller/Event.php b/src/http/Controller/Event.php
index 46e4c22..8b9b92a 100644
--- a/src/http/Controller/Event.php
+++ b/src/http/Controller/Event.php
@@ -59,9 +59,6 @@ class Event
$sendResourcesEvent->cancel();
}
- else {
- DB::query('delete from event where id=:id', ['id' => $request->get('id')]);
- }
return new RedirectResponse(
Router::generate(