remove exit commands after redirects (redirect does already die)
This commit is contained in:
parent
26515d7582
commit
7f4aa6daa5
|
@ -79,10 +79,7 @@ function rooms_controller()
|
|||
case 'list':
|
||||
default:
|
||||
redirect(page_link_to('admin_rooms'));
|
||||
break;
|
||||
}
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -326,7 +326,6 @@ function shift_next_controller()
|
|||
}
|
||||
|
||||
redirect(page_link_to('user_shifts'));
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -419,6 +419,5 @@ function user_angeltypes_controller()
|
|||
return user_angeltype_add_controller();
|
||||
default:
|
||||
redirect(page_link_to('angeltypes'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue