Revert "PLT-1800 Load server side locale from the config.json (#3076)"
This reverts commit 34beaa569b.
Этот коммит содержится в:
@@ -4,9 +4,6 @@
|
||||
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
|
||||
import EventEmitter from 'events';
|
||||
|
||||
import * as GlobalActions from 'action_creators/global_actions.jsx';
|
||||
import LocalizationStore from './localization_store.jsx';
|
||||
|
||||
import Constants from 'utils/constants.jsx';
|
||||
const ActionTypes = Constants.ActionTypes;
|
||||
|
||||
@@ -103,9 +100,6 @@ class UserStoreClass extends EventEmitter {
|
||||
this.saveProfile(user);
|
||||
this.currentUserId = user.id;
|
||||
global.window.mm_current_user_id = this.currentUserId;
|
||||
if (LocalizationStore.getLocale() !== user.locale) {
|
||||
GlobalActions.newLocalizationSelected(user.locale);
|
||||
}
|
||||
}
|
||||
|
||||
getCurrentId() {
|
||||
|
||||
Ссылка в новой задаче
Block a user