From: Vincent Zanotti Date: Mon, 16 Jun 2008 01:08:55 +0000 (+0200) Subject: Fixes direct references to abstrat PlUser methods. X-Git-Tag: xorg/0.10.0~86^2~73 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=908fd496dab6ca85a3c6c3a555ee7e2160685332;hp=755bbd93688c2f52e14fea621224001c6c90bc1d;p=platal.git Fixes direct references to abstrat PlUser methods. Signed-off-by: Vincent Zanotti --- 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,