mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Old plugins cleanup (#12932)
* Remove OBSOLETE_PLUGINS table. * Remove old plugins. * exporter: remove old settings migration
This commit is contained in:
@@ -856,5 +856,18 @@ if last_migration_date < 20250302 then
|
||||
end
|
||||
end
|
||||
|
||||
-- 20250318, Remove obsolete plugins
|
||||
-- https://github.com/koreader/koreader/pull/12932
|
||||
if last_migration_date < 20250318 then
|
||||
logger.info("Performing one-time migration for 20250318")
|
||||
local base = DataStorage:getDataDir() .. "/plugins/"
|
||||
local old_plugins = { "autofrontlight", "backgroundrunner", "calibrecompanion",
|
||||
"evernote", "goodreads", "kobolight", "send2ebook", "storagestat", "zsync" }
|
||||
|
||||
for _, v in ipairs(old_plugins) do
|
||||
ffiUtil.purgeDir(base .. v .. ".koplugin")
|
||||
end
|
||||
end
|
||||
|
||||
-- We're done, store the current migration date
|
||||
G_reader_settings:saveSetting("last_migration_date", CURRENT_MIGRATION_DATE)
|
||||
|
||||
Reference in New Issue
Block a user