]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4270 removed use of deprecated method
authorcash <cash.costello@gmail.com>
Thu, 5 Jan 2012 02:49:46 +0000 (21:49 -0500)
committercash <cash.costello@gmail.com>
Thu, 5 Jan 2012 02:49:46 +0000 (21:49 -0500)
engine/lib/web_services.php

index 1c77b757e5e5acb7bc388d68dc3e5f361e41bf0d..07be76ec61bdba947feedb1b7721fbaa3f30192a 100644 (file)
@@ -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;