cozy/cozy-mobile

View on GitHub
src/app/replicator/fromDevice/notification_importer.coffee

Summary

Maintainability
Test Coverage
NotificationHandler = require '../../lib/notification_handler'

log = require('../../lib/persistent_log')
    prefix: "NotificationImporter"
    date: true


module.exports = class NotificationImporter


    constructor: ->
        @notificationHandler = new NotificationHandler()


    synchronize: (callback) ->
        @notificationHandler.deletesIfIsNotPresent callback