]> git.wh0rd.org - tt-rss.git/commit - classes/handler.php
Make Handler::before() hierarchy consistent
authorJohn Keeping <john@keeping.me.uk>
Thu, 5 Jul 2012 18:43:44 +0000 (19:43 +0100)
committerJohn Keeping <john@keeping.me.uk>
Thu, 5 Jul 2012 18:43:44 +0000 (19:43 +0100)
commit17f9d2003ac3f47db316630decd07143992ed16f
tree36d843026f8bfbd62f1134e357b40073d02be22a
parent68916212b2541344f487354a5ec1e7895aa1370a
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.
classes/dlg.php
classes/handler.php
classes/pref_instances.php
classes/pref_users.php
classes/protected_handler.php