From: David ‘Bombe’ Roden Date: Mon, 13 Dec 2010 19:55:46 +0000 (+0100) Subject: There is no plugin store to persist anymore. X-Git-Tag: beta-freefall-0.6.2-1~185 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b5dc5b02b9b91700b8a7a84bc2991b35968b9f6f;p=Sone.git There is no plugin store to persist anymore. --- diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index 37fdb54..1f2622c 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -44,7 +44,6 @@ import freenet.pluginmanager.FredPluginL10n; import freenet.pluginmanager.FredPluginThreadless; import freenet.pluginmanager.FredPluginVersioned; import freenet.pluginmanager.PluginRespirator; -import freenet.pluginmanager.PluginStore; /** * This class interfaces with Freenet. It is the class that is loaded by the @@ -96,9 +95,6 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10 /** The l10n helper. */ private PluginL10n l10n; - /** The plugin store. */ - private PluginStore pluginStore; - /** The identity manager. */ private IdentityManager identityManager; @@ -228,13 +224,6 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10 /* stop the identity manager. */ identityManager.stop(); - - try { - pluginRespirator.putStore(pluginStore); - } catch (DatabaseDisabledException dde1) { - logger.log(Level.WARNING, "Could not store plugin store, database is disabled.", dde1); - } - } finally { /* shutdown logger. */ Logging.shutdown();