From 84f88c43002d3c337f3fcaf2b0f8cd4c3898081f Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 4 Jan 2012 21:49:46 -0500 Subject: Fixes #4270 removed use of deprecated method --- engine/lib/web_services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; -- cgit v1.2.3