Finished removing some of the last bits of client side config

Этот коммит содержится в:
=Corey Hulen
2015-09-15 19:29:00 -07:00
родитель 5e2f701e6c
Коммит d625e62d96
4 изменённых файлов: 1 добавлений и 41 удалений

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

@@ -582,28 +582,4 @@ export function getMyTeam() {
dispatchError(err, 'getMyTeam');
}
);
}
export function getConfig() {
if (isCallInProgress('getConfig')) {
return;
}
callTracker.getConfig = utils.getTimestamp();
client.getConfig(
function getConfigSuccess(data, textStatus, xhr) {
callTracker.getConfig = 0;
if (data && xhr.status !== 304) {
AppDispatcher.handleServerAction({
type: ActionTypes.RECIEVED_CONFIG,
settings: data
});
}
},
function getConfigFailure(err) {
callTracker.getConfig = 0;
dispatchError(err, 'getConfig');
}
);
}
}