There is no need to call exit, if anything, it should call drupal_exit(), calling exit; prevents things like writing the user session back.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | vud-exit-2315923-1.patch | 510 bytes | berdir |
There is no need to call exit, if anything, it should call drupal_exit(), calling exit; prevents things like writing the user session back.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | vud-exit-2315923-1.patch | 510 bytes | berdir |
Comments
Comment #1
berdirAnd here's the patch.
Comment #2
marvil07 commented@Berdir thanks for pointing that out, yes exit should not be called.
After some research, it seem like the right way to do it is to return a renderable array from those menu callbacks.
I'll be adding that soon.
Comment #4
marvil07 commentedComment #5
marvil07 commented