From 17f9d2003ac3f47db316630decd07143992ed16f Mon Sep 17 00:00:00 2001 From: John Keeping Date: Thu, 5 Jul 2012 19:43:44 +0100 Subject: 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/pref_users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/pref_users.php') diff --git a/classes/pref_users.php b/classes/pref_users.php index 94ee270d3..8f8f819f3 100644 --- a/classes/pref_users.php +++ b/classes/pref_users.php @@ -1,7 +1,7 @@