From: cash Date: Thu, 5 Jan 2012 02:49:46 +0000 (-0500) Subject: Fixes #4270 removed use of deprecated method X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=84f88c43002d3c337f3fcaf2b0f8cd4c3898081f;p=lorea%2Felgg.git Fixes #4270 removed use of deprecated method --- diff --git a/engine/lib/web_services.php b/engine/lib/web_services.php index 1c77b757e..07be76ec6 100644 --- a/engine/lib/web_services.php +++ b/engine/lib/web_services.php @@ -1165,7 +1165,7 @@ function list_all_apis() { * @access private */ function auth_gettoken($username, $password) { - if (authenticate($username, $password)) { + if (elgg_authenticate($username, $password)) { $token = create_user_token($username); if ($token) { return $token;