remove exit commands after redirects (redirect does already die)

main
msquare 8 years ago
parent 26515d7582
commit 7f4aa6daa5

@ -79,10 +79,7 @@ function rooms_controller()
case 'list': case 'list':
default: default:
redirect(page_link_to('admin_rooms')); redirect(page_link_to('admin_rooms'));
break;
} }
exit;
} }
/** /**

@ -326,7 +326,6 @@ function shift_next_controller()
} }
redirect(page_link_to('user_shifts')); redirect(page_link_to('user_shifts'));
exit;
} }
/** /**

@ -419,6 +419,5 @@ function user_angeltypes_controller()
return user_angeltype_add_controller(); return user_angeltype_add_controller();
default: default:
redirect(page_link_to('angeltypes')); redirect(page_link_to('angeltypes'));
exit;
} }
} }

Loading…
Cancel
Save