summaryrefslogtreecommitdiffstats
path: root/web/react/pages/home.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/pages/home.jsx')
-rw-r--r--web/react/pages/home.jsx16
1 files changed, 0 insertions, 16 deletions
diff --git a/web/react/pages/home.jsx b/web/react/pages/home.jsx
deleted file mode 100644
index ff81c4994..000000000
--- a/web/react/pages/home.jsx
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import TeamStore from '../stores/team_store.jsx';
-import Constants from '../utils/constants.jsx';
-
-function setupHomePage() {
- var last = null;
- if (last == null || last.length === 0) {
- window.location = TeamStore.getCurrentTeamUrl() + '/channels/' + Constants.DEFAULT_CHANNEL;
- } else {
- window.location = TeamStore.getCurrentTeamUrl() + '/channels/' + last;
- }
-}
-
-global.window.setup_home_page = setupHomePage;