mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
don't log thirdparty app list if they're platform defaults (#7760)
This commit is contained in:
parent
203e434a51
commit
dc0d759148
@ -33,7 +33,9 @@ function M:new(o)
|
||||
end
|
||||
end
|
||||
end
|
||||
if o.is_user_list then
|
||||
logger.info(o:dump())
|
||||
end
|
||||
return o
|
||||
end
|
||||
|
||||
@ -54,7 +56,7 @@ function M:checkMethod(role, method)
|
||||
end
|
||||
|
||||
function M:dump()
|
||||
local str = (self.is_user_list and "user" or "platform") .. " thirdparty apps\n"
|
||||
local str = "user defined thirdparty apps\n"
|
||||
for i, role in ipairs(roles) do
|
||||
local apps = self[role.."s"]
|
||||
for index, _ in ipairs(apps or {}) do
|
||||
|
Loading…
Reference in New Issue
Block a user