This website works better with JavaScript.
Home
Help
Sign In
ESIR
/
KiWi-Calendar
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
added deleteEvent
master
n0m1s
10 years ago
parent
2bd17e883d
commit
33cf7ff7b3
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
deleteEvent.php
+ 12
- 0
deleteEvent.php
View File
@ -0,0 +1,12 @@
<
?
php
include_once
(
'./databaseOperations.php'
);
//TODO: check if user has the right to delete the event
if
(
isset
(
$_GET
[
'id'
])
&&
is_numeric
(
$_GET
[
'id'
]))
{
$db
=
connect
();
deleteEvent
(
$db
,
$_GET
[
'id'
]);
header
(
'Location:./'
);
}
?>
Write
Preview
Loading…
Cancel
Save