Fix repo count checker when the user service has not yet loaded

Fixes #521
This commit is contained in:
Joseph Schorr 2015-09-21 16:42:16 -04:00
parent a47bfa201e
commit 1f90aa5b59
2 changed files with 1 additions and 5 deletions

View file

@ -126,10 +126,6 @@ function(ApiService, CookieService, $rootScope, Config) {
return userResponse;
};
userService.isUserNamespace = function(namespace) {
return namespace == userResponse.username;
};
// Update the user in the root scope.
userService.updateUserIn($rootScope);