Move memory album and image to default implementation.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index f6645ca..ed39b71 100644 (file)
@@ -246,7 +246,7 @@ public class WebInterface {
        public WebInterface(SonePlugin sonePlugin) {
                this.sonePlugin = sonePlugin;
                formPassword = sonePlugin.pluginRespirator().getToadletContainer().getFormPassword();
-               soneTextParser = new SoneTextParser(getCore(), getCore());
+               soneTextParser = new SoneTextParser(getCore().getDatabase());
 
                templateContextFactory = new TemplateContextFactory();
                templateContextFactory.addAccessor(Object.class, new ReflectionAccessor());