Commit graph

3 commits

Author SHA1 Message Date
John Keeping
17f9d2003a Make Handler::before() hierarchy consistent
In API, the before() method (inherited from Handler) takes a $method
argument, although this is not declared for the before method() in
handler.  PHP in strict mode treats this as an error.

Since call sites already pass the $method argument, change
Handler::before() and the before() method in all other subclasses to
take this argument.
2012-07-05 19:43:44 +01:00
Andrew Dolgov
8484ce2258 experimental CSRF protection 2011-12-26 12:02:52 +04:00
Andrew Dolgov
5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00