Revert "PLT-1800 Load server side locale from the config.json" (#3133)

Этот коммит содержится в:
Christopher Speller
2016-05-27 09:01:35 -04:00
родитель a2c183f401
Коммит ec7a273550
24 изменённых файлов: 66 добавлений и 396 удалений

Просмотреть файл

@@ -4,9 +4,6 @@
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
import EventEmitter from 'events';
import * as GlobalActions from 'actions/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() {