Remove Storage statistics from menu (#4127)

pull/4142/head
Robert 6 years ago committed by poire-z
parent 9971eb8533
commit 0732379130

@ -52,8 +52,10 @@ function PluginLoader:loadPlugins()
local plugins_disabled = G_reader_settings:readSetting("plugins_disabled") local plugins_disabled = G_reader_settings:readSetting("plugins_disabled")
if type(plugins_disabled) ~= "table" then if type(plugins_disabled) ~= "table" then
plugins_disabled = nil plugins_disabled = {}
end end
--permanent remove storage stats plugin (#2926)
plugins_disabled["storagestat"] = true
for _,lookup_path in ipairs(lookup_path_list) do for _,lookup_path in ipairs(lookup_path_list) do
logger.info('Loading plugins from directory:', lookup_path) logger.info('Loading plugins from directory:', lookup_path)
for entry in lfs.dir(lookup_path) do for entry in lfs.dir(lookup_path) do

@ -47,7 +47,6 @@ local order = {
"calibre_wireless_connection", "calibre_wireless_connection",
"evernote", "evernote",
"statistics", "statistics",
"storage_stat",
"cloud_storage", "cloud_storage",
"read_timer", "read_timer",
"news_downloader", "news_downloader",
@ -65,7 +64,6 @@ local order = {
"synchronize_time", "synchronize_time",
"keep_alive", "keep_alive",
"terminal", "terminal",
"storage_stat",
}, },
search = { search = {
"dictionary_lookup", "dictionary_lookup",

@ -82,7 +82,6 @@ local order = {
"synchronize_time", "synchronize_time",
"keep_alive", "keep_alive",
"terminal", "terminal",
"storage_stat",
}, },
search = { search = {
"dictionary_lookup", "dictionary_lookup",

Loading…
Cancel
Save