From: Pierre Rudloff Date: Sat, 7 Apr 2018 20:15:35 +0000 (+0200) Subject: Rename api_list_create() to api_lists_create() for consistency X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5aaa61d118e2f104d6a3101833a10e93af58bda;p=friendica.git Rename api_list_create() to api_lists_create() for consistency --- diff --git a/include/api.php b/include/api.php index 1d8e51d1b8..8c79cc4814 100644 --- a/include/api.php +++ b/include/api.php @@ -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.