dashboard: rename refreshUserInfo to refreshProfile
This commit is contained in:
@@ -2522,7 +2522,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.refreshUserInfo = function (callback) {
|
||||
Client.prototype.refreshProfile = function (callback) {
|
||||
var that = this;
|
||||
|
||||
callback = typeof callback === 'function' ? callback : function () {};
|
||||
|
||||
@@ -787,7 +787,7 @@ app.controller('MainController', ['$scope', '$route', '$timeout', '$location', '
|
||||
|
||||
// get user profile as the first thing. this populates the "scope" and affects subsequent API calls
|
||||
async.series([
|
||||
Client.refreshUserInfo.bind(Client),
|
||||
Client.refreshProfile.bind(Client),
|
||||
Client.refreshConfig.bind(Client),
|
||||
Client.refreshAvailableLanguages.bind(Client),
|
||||
Client.refreshInstalledApps.bind(Client)
|
||||
|
||||
Reference in New Issue
Block a user