Fixing calltime pass by reference deprecation warnings.

This commit is contained in:
mark_story 2010-12-18 15:52:23 -05:00
parent 4009b6b2c7
commit 6f1eca79ac

View file

@ -537,7 +537,7 @@ class HttpSocket extends CakeSocket {
if (!method_exists($authClass, 'authentication')) { if (!method_exists($authClass, 'authentication')) {
throw new SocketException(sprintf(__('The %s do not support authentication.'), $authClass)); throw new SocketException(sprintf(__('The %s do not support authentication.'), $authClass));
} }
call_user_func("$authClass::authentication", $this, &$this->_auth[$method]); call_user_func("$authClass::authentication", $this, $this->_auth[$method]);
} }
/** /**
@ -563,7 +563,7 @@ class HttpSocket extends CakeSocket {
if (!method_exists($authClass, 'proxyAuthentication')) { if (!method_exists($authClass, 'proxyAuthentication')) {
throw new SocketException(sprintf(__('The %s do not support proxy authentication.'), $authClass)); throw new SocketException(sprintf(__('The %s do not support proxy authentication.'), $authClass));
} }
call_user_func("$authClass::proxyAuthentication", $this, &$this->_proxy); call_user_func("$authClass::proxyAuthentication", $this, $this->_proxy);
} }
/** /**