From 908fd496dab6ca85a3c6c3a555ee7e2160685332 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Mon, 16 Jun 2008 03:08:55 +0200 Subject: [PATCH] Fixes direct references to abstrat PlUser methods. Signed-off-by: Vincent Zanotti --- classes/pluser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/pluser.php b/classes/pluser.php index 4beee0a..1454884 100644 --- a/classes/pluser.php +++ b/classes/pluser.php @@ -99,7 +99,7 @@ abstract class PlUser public static function getWithValues($login, $values, $callback = false) { if (!$callback) { - $callback = array(__CLASS__, '_default_user_callback'); + $callback = array('User', '_default_user_callback'); } try { @@ -112,7 +112,7 @@ abstract class PlUser // Alias on get() with the silent callback. public static function getSilent($login) { - return User::getWithValues($login, array(), array(__CLASS__, '_silent_user_callback')); + return User::getWithValues($login, array(), array('User', '_silent_user_callback')); } // Returns the forlife emails for @p members. If @p strict mode is enabled, -- 2.1.4