Remove unnecessary PerceptionExpander:onSaveSettings()

All the explicite self:saveSettings() needed are done when needed,
and this onSaveSettings() made the file being rewritten unchanged on
each suspend/exit, and created even if people have never used the
plugin.
This commit is contained in:
poire-z authored and Qingping Hou committed 2017-01-12 19:10:52 -08:00
1 parent 5012fb79d3
commit fc8d26ad89
1 file changed
-5
@@ -189,11 +189,6 @@ function PerceptionExpander:addToMainMenu(tab_item_table)
})
end
-- in case when screensaver starts
function PerceptionExpander:onSaveSettings()
self:saveSettings()
end
function PerceptionExpander:onPageUpdate(pageno)
if not self.is_enabled then
return