Remove obsolete loading animation
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / AboutPage.kt
index 6206d31..da60e98 100644 (file)
@@ -6,17 +6,14 @@ import net.pterodactylus.sone.main.SonePlugin.PluginYear
 import net.pterodactylus.sone.web.page.FreenetRequest
 import net.pterodactylus.util.template.Template
 import net.pterodactylus.util.template.TemplateContext
-import javax.inject.Inject
-import javax.inject.Singleton
 
 /**
  * A [SoneTemplatePage] that stores information about Sone in the [TemplateContext].
  */
-@Singleton
-class AboutPage @Inject constructor(template: Template, webInterface: WebInterface,
-                                    private val pluginVersion: PluginVersion,
-                                    private val pluginYear: PluginYear,
-                                    private val pluginHomepage: PluginHomepage) : SoneTemplatePage("about.html", template, "Page.About.Title", webInterface, false) {
+class AboutPage(template: Template, webInterface: WebInterface,
+               private val pluginVersion: PluginVersion,
+               private val pluginYear: PluginYear,
+               private val pluginHomepage: PluginHomepage): SoneTemplatePage("about.html", template, "Page.About.Title", webInterface, false) {
 
        override fun handleRequest(request: FreenetRequest, templateContext: TemplateContext) {
                templateContext["version"] = pluginVersion.version