Add web interface to all template contexts more reliably.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / SoneTemplatePage.java
index 42c0129..a0174a9 100644 (file)
@@ -120,7 +120,6 @@ public class SoneTemplatePage extends FreenetTemplatePage {
                this.pageTitleKey = pageTitleKey;
                this.webInterface = webInterface;
                this.requireLogin = requireLogin;
-               template.getInitialContext().set("webInterface", webInterface);
        }
 
        //