remove exit commands after redirects (redirect does already die)

This commit is contained in:
msquare 2017-07-28 20:26:12 +02:00
parent 26515d7582
commit 7f4aa6daa5
3 changed files with 0 additions and 5 deletions

View File

@ -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;
} }
/** /**

View File

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

View File

@ -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;
} }
} }