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 18, 2010
1 parent b1630d4 commit 9c1516e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/http_socket.php
Expand Up @@ -539,7 +539,7 @@ protected function _setAuth() {
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]);
}

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

/**
Expand Down

0 comments on commit 9c1516e

Please sign in to comment.