🚚 Move notification handler usage into Sone plugin
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / WebInterfaceModule.kt
index 63f3fc6..3d87aa7 100644 (file)
@@ -1,6 +1,5 @@
 package net.pterodactylus.sone.web
 
-import com.google.common.eventbus.*
 import com.google.inject.*
 import freenet.support.api.*
 import net.pterodactylus.sone.core.*
@@ -11,7 +10,6 @@ import net.pterodactylus.sone.freenet.wot.*
 import net.pterodactylus.sone.main.*
 import net.pterodactylus.sone.template.*
 import net.pterodactylus.sone.text.*
-import net.pterodactylus.sone.web.notification.*
 import net.pterodactylus.util.notify.*
 import net.pterodactylus.util.template.*
 import javax.inject.*
@@ -134,9 +132,4 @@ class WebInterfaceModule : AbstractModule() {
        fun getNotificationManager() =
                        NotificationManager()
 
-       @Provides
-       @Singleton
-       fun getNotificationHandler(eventBus: EventBus, loaders: Loaders, notificationManager: NotificationManager) =
-                       NotificationHandler(eventBus, loaders, notificationManager)
-
 }