Fixing calltime pass by reference deprecation warnings.

This commit is contained in:
mark_story 2010-12-18 15:52:23 -05:00
parent b1630d4f07
commit 9c1516e6a8

View file

@ -539,7 +539,7 @@ class HttpSocket extends CakeSocket {
if (!method_exists($authClass, 'authentication')) {
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]);
}
/**
@ -565,7 +565,7 @@ class HttpSocket extends CakeSocket {
if (!method_exists($authClass, 'proxyAuthentication')) {
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);
}
/**