diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-05-04 15:45:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-04 15:45:19 -0400 |
commit | 49481caf6db89b0853626ac52ab5f786a6887179 (patch) | |
tree | 128991892f16d7830097c217db689410a002eb73 /webapp/stores | |
parent | 44a8f76d993cdd97785cab7fd55ad9f07c3c757a (diff) | |
download | chat-49481caf6db89b0853626ac52ab5f786a6887179.tar.gz chat-49481caf6db89b0853626ac52ab5f786a6887179.tar.bz2 chat-49481caf6db89b0853626ac52ab5f786a6887179.zip |
PLT-6262 Add config setting to disable file attachments (#6301)
* Add config setting to disable file attachments
* Add unit tests
* Updating UI for no attachments (#6312)
* Update UI text on file upload System Console setting (#6313)
* Update storage_settings.jsx
* Update en.json
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/browser_store.jsx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/webapp/stores/browser_store.jsx b/webapp/stores/browser_store.jsx index b0c923594..18fcc452d 100644 --- a/webapp/stores/browser_store.jsx +++ b/webapp/stores/browser_store.jsx @@ -75,14 +75,6 @@ class BrowserStoreClass { } } - getLastServerVersion() { - return this.getGlobalItem('last_server_version'); - } - - setLastServerVersion(version) { - this.setGlobalItem('last_server_version', version); - } - signalLogout() { if (this.isLocalStorageSupported()) { // PLT-1285 store an identifier in session storage so we can catch if the logout came from this tab on IE11 @@ -144,7 +136,6 @@ class BrowserStoreClass { clear() { // persist some values through logout since they're independent of which user is logged in const logoutId = sessionStorage.getItem('__logout__'); - const serverVersion = this.getLastServerVersion(); const landingPageSeen = this.hasSeenLandingPage(); const selectedTeams = this.getItem('selected_teams'); const recentEmojis = localStorage.getItem(Constants.RECENT_EMOJI_KEY); @@ -160,10 +151,6 @@ class BrowserStoreClass { sessionStorage.setItem('__logout__', logoutId); } - if (serverVersion) { - this.setLastServerVersion(serverVersion); - } - if (landingPageSeen) { this.setLandingPageSeen(landingPageSeen); } |