Remove unused interface

This commit is contained in:
Tindy X committed 2023-10-08 02:16:22 +08:00
1 parent f6e5cbbba5
commit 5de1a3fef0
4 files changed
+68 -24

No files matched your search

-6
View File
@@ -141,12 +141,6 @@ void matchUserAgent(const std::string &user_agent, std::string &target, tribool
return;
}
std::string getConvertedRuleset(RESPONSE_CALLBACK_ARGS)
{
std::string url = urlDecode(getUrlArg(request.argument, "url")), type = getUrlArg(request.argument, "type");
return convertRuleset(fetchFile(url, parseProxy(global.proxyRuleset), global.cacheRuleset), to_int(type));
}
std::string getRuleset(RESPONSE_CALLBACK_ARGS)
{
std::string &argument = request.argument;