🚧 Use ticker from Sone module for notifications
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / notification / NotificationHandlerModule.kt
index 539f001..0d7bb25 100644 (file)
@@ -77,10 +77,6 @@ class NotificationHandlerModule : AbstractModule() {
                        ListNotification<Sone>("sones-locked-notification", "sones", loaders.loadTemplate("/templates/notify/lockedSonesNotification.html"), dismissable = true)
 
        @Provides
-       fun getScheduledExecutorService(): ScheduledExecutorService =
-                       newScheduledThreadPool(1)
-
-       @Provides
        @Singleton
        @Named("localPost")
        fun getLocalPostNotification(loaders: Loaders) =