forked from science-ation/science-ation
Save the file before committing
This commit is contained in:
parent
997b54e854
commit
1f138e52ef
@ -48,10 +48,7 @@ case 'load_row':
|
||||
exit;
|
||||
|
||||
case 'delete':
|
||||
$id = intval($_GET['id']);
|
||||
error_("FIXME!");
|
||||
exit;
|
||||
$regid=$_GET['delete'];
|
||||
$regid = intval($_GET['id']);
|
||||
mysql_query("DELETE FROM registrations WHERE id='$regid' AND year='".$config['FAIRYEAR']."'");
|
||||
mysql_query("DELETE FROM students WHERE registrations_id='$regid' AND year='".$config['FAIRYEAR']."'");
|
||||
mysql_query("DELETE FROM projects WHERE registrations_id='$regid' AND year='".$config['FAIRYEAR']."'");
|
||||
|
Loading…
Reference in New Issue
Block a user