aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-04 21:49:46 -0500
committercash <cash.costello@gmail.com>2012-01-04 21:49:46 -0500
commit84f88c43002d3c337f3fcaf2b0f8cd4c3898081f (patch)
treede8298e4960d221fc430f4dd26362b04ab3727e1 /engine
parent5c315481abd540ffb31521043797f416f93f2849 (diff)
downloadelgg-84f88c43002d3c337f3fcaf2b0f8cd4c3898081f.tar.gz
elgg-84f88c43002d3c337f3fcaf2b0f8cd4c3898081f.tar.bz2
Fixes #4270 removed use of deprecated method
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/web_services.php2
1 files changed, 1 insertions, 1 deletions
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;