Skip to content

Commit

Permalink
Fixing calltime pass by reference deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 27, 2010
1 parent 4009b6b commit 6f1eca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/http_socket.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ protected function _setAuth() {
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]);
} }


/** /**
Expand All @@ -563,7 +563,7 @@ protected function _setProxy() {
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);
} }


/** /**
Expand Down

0 comments on commit 6f1eca7

Please sign in to comment.