Browse Source

Fixing calltime pass by reference deprecation warnings.

mark_story 15 years ago
parent
commit
6f1eca79ac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cake/libs/http_socket.php

+ 2 - 2
cake/libs/http_socket.php

@@ -537,7 +537,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]);
 	}
 
 /**
@@ -563,7 +563,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);
 	}
 
 /**