rm disconnect message, rename disconnect fn

This commit is contained in:
Matias Alejo Garcia 2014-08-28 18:58:43 -03:00
commit 6aa959dcf5
4 changed files with 16 additions and 32 deletions

View file

@ -49,11 +49,7 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
};
function logout() {
var w = $rootScope.wallet;
if (w) {
w.disconnect();
controllerUtils.logout();
}
controllerUtils.logout();
}
// ng-repeat defined number of times instead of repeating over array?