From c5aaa61d118e2f104d6a3101833a10e93af58bda Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 7 Apr 2018 22:15:35 +0200 Subject: [PATCH] Rename api_list_create() to api_lists_create() for consistency --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.