From 4979e4d614c33146762a5993b1570489d47a7fe3 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 6 Aug 2015 16:13:41 +0930 Subject: [PATCH] Remove session event handler --- js/forum/src/components/DiscussionList.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/forum/src/components/DiscussionList.js b/js/forum/src/components/DiscussionList.js index c38001580..18b0e0987 100644 --- a/js/forum/src/components/DiscussionList.js +++ b/js/forum/src/components/DiscussionList.js @@ -37,12 +37,6 @@ export default class DiscussionList extends Component { this.discussions = []; this.refresh(); - - app.session.on('loggedIn', this.loggedInHandler = this.refresh.bind(this)); - } - - onunload() { - app.session.off('loggedIn', this.loggedInHandler); } view() {