Changing to be compatible with PHP 5.2+

This commit is contained in:
Juan Basso 2010-11-26 23:00:26 -02:00
parent af06b8f179
commit 547f48fb03

View file

@ -459,7 +459,7 @@ class HttpSocket extends CakeSocket {
if (!App::import('Lib', 'http/' . $authClass)) { if (!App::import('Lib', 'http/' . $authClass)) {
throw new Exception(__('Unknown authentication method.')); throw new Exception(__('Unknown authentication method.'));
} }
$authClass::authentication($this); call_user_func("$authClass::authentication", $this);
} }
/** /**