cvs: pear /Auth Auth.php

From: Date: Tue, 09 Sep 2003 06:51:57 +0000
Subject: cvs: pear /Auth Auth.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-12565@lists.php.net to get a copy of this message
yavo Tue Sep 9 02:51:57 2003 EDT Modified files: /pear/Auth Auth.php Log: Fix a warning Index: pear/Auth/Auth.php diff -u pear/Auth/Auth.php:1.62 pear/Auth/Auth.php:1.63 --- pear/Auth/Auth.php:1.62 Mon Sep 8 07:51:59 2003 +++ pear/Auth/Auth.php Tue Sep 9 02:51:57 2003 @@ -16,7 +16,7 @@ // | Authors: Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Auth.php,v 1.62 2003/09/08 11:51:59 yavo Exp $ +// $Id: Auth.php,v 1.63 2003/09/09 06:51:57 yavo Exp $ // require_once "PEAR.php"; @@ -33,7 +33,7 @@ * * @author Martin Jansen <mj@php.net> * @package Auth - * @version $Revision: 1.62 $ + * @version $Revision: 1.63 $ */ class Auth { @@ -285,7 +285,7 @@ $login_ok = true; } else { if (!empty($this->loginFailedCallback)) { - call_user_func($this->loginFailedCallback,$this->username, &$this); + call_user_func($this->loginFailedCallback,$this->username, $this); } } } @@ -293,7 +293,7 @@ if (!empty($this->username) && $login_ok) { $this->setAuth($this->username); if (!empty($this->loginCallback)) { - call_user_func($this->loginCallback,$this->username, &$this); + call_user_func($this->loginCallback,$this->username, $this); } } @@ -609,7 +609,7 @@ function drawLogin($username = "") { if ($this->loginFunction != "") { - call_user_func($this->loginFunction, $username, $this->status, &$this); + call_user_func($this->loginFunction, $username, $this->status, $this); } else { $server = &$this->_importGlobalVariable("server"); @@ -665,7 +665,7 @@ $session = &$this->_importGlobalVariable("session"); if (!empty($this->logoutCallback)) { - call_user_func($this->logoutCallback, $session[$this->_sessionName]['username'], &$this); + call_user_func($this->logoutCallback, $session[$this->_sessionName]['username'], $this); } $this->username = "";

« previous php.pear.cvs (#12565) next »