Skip to content

Commit

Permalink
fix(realtime): Removes legacy code
Browse files Browse the repository at this point in the history
It as left by mistake after a refactoring
  • Loading branch information
edas committed Feb 26, 2020
1 parent 52efdef commit eb1bf74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/cozy-realtime/src/CozyRealtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,6 @@ class CozyRealtime {
window.removeEventListener('online', this.onOnline)
window.removeEventListener('offline', this.onOffline)
}
if (isCordova()) {
document.removeEventListener('deviceready', this.onDeviceReady)
}
}

/**
Expand Down

0 comments on commit eb1bf74

Please sign in to comment.