Make sure post controller, and post system hooks get called on a redirect() #1162

wants to merge 1 commit into


None yet
2 participants

chrisguiney commented Mar 11, 2012

At the moment, redirect() will completely overlook the possibility of a post controller/post system hooks


narfbg commented Nov 4, 2012

redirect() (with the use of exit) terminates script execution at any point of the application run flow. Skipping e.g. views, but running post hooks doesn't make sense, and while it's highly unlikely that somebody would want to use redirect() inside these hooks - it would be a disaster.
You can always create your own helper function to achieve the effect that you want, but it's not going into CI.

narfbg closed this Nov 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment