Mercurial > prosody-modules
diff mod_http_oauth2/mod_http_oauth2.lua @ 6296:3f0970babd67
mod_http_oauth2: Remove unused function
Leftover from something
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 15 Jul 2025 21:56:56 +0200 |
| parents | c96bd4156664 |
| children | 7fe484e7b574 |
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua Tue Jul 15 21:55:25 2025 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Tue Jul 15 21:56:56 2025 +0200 @@ -40,12 +40,6 @@ return false end -local function array_filter(haystack) - return function (needle) - return array_contains(haystack, needle); - end -end - local function strict_url_parse(urlstr) local url_parts = url.parse(urlstr); if not url_parts then return url_parts; end
