]> git.mxchange.org Git - friendica.git/commitdiff
Unused argument
authorPierre Rudloff <contact@rudloff.pro>
Sat, 23 Dec 2017 00:27:17 +0000 (01:27 +0100)
committerPierre Rudloff <contact@rudloff.pro>
Sat, 23 Dec 2017 00:27:17 +0000 (01:27 +0100)
include/api.php

index b6181ea1a4d0c1252bf58d5e87dad42d8b3f68b5..c9c227daaa3704baff56503b33c9bb7e8f08e7ab 100644 (file)
@@ -1494,7 +1494,7 @@ function api_users_search($type)
                if (DBM::is_result($r)) {
                        $k = 0;
                        foreach ($r as $user) {
-                               $user_info = api_get_user($a, $user["id"], "json");
+                               $user_info = api_get_user($a, $user["id"]);
 
                                if ($type == "xml") {
                                        $userlist[$k++.":user"] = $user_info;