]> git.mxchange.org Git - friendica.git/commitdiff
Rename api_list_create() to api_lists_create() for consistency
authorPierre Rudloff <contact@rudloff.pro>
Sat, 7 Apr 2018 20:15:35 +0000 (22:15 +0200)
committerPierre Rudloff <contact@rudloff.pro>
Sat, 7 Apr 2018 20:15:35 +0000 (22:15 +0200)
include/api.php

index 1d8e51d1b8fc5b275c5a83b88aaf703b697054fd..8c79cc481457da96c87132f47bc2a3d90819a9d8 100644 (file)
@@ -5707,7 +5707,7 @@ api_register_func('api/friendica/group_create', 'api_friendica_group_create', tr
  * @return array|string
  * @see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-create
  */
-function api_list_create($type)
+function api_lists_create($type)
 {
        $a = get_app();
 
@@ -5732,7 +5732,7 @@ function api_list_create($type)
                return api_format_data("lists", $type, ['lists'=>$grp]);
        }
 }
-api_register_func('api/lists/create', 'api_list_create', true, API_METHOD_POST);
+api_register_func('api/lists/create', 'api_lists_create', true, API_METHOD_POST);
 
 /**
  * Update the specified group with the posted array of contacts.