From f306ef8552efe1580e9c16e1d944f5ed1dca4aae Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 24 Oct 2011 16:33:40 -0400
Subject: [PATCH] Object counts and refresh labels on all header panels
---
src/com/gitblit/client/GitblitClient.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/com/gitblit/client/GitblitClient.java b/src/com/gitblit/client/GitblitClient.java
index 66675b1..7991423 100644
--- a/src/com/gitblit/client/GitblitClient.java
+++ b/src/com/gitblit/client/GitblitClient.java
@@ -86,7 +86,7 @@
}
try {
- settings = RpcUtils.getSettings(url, account, password);
+ refreshSettings();
status = RpcUtils.getStatus(url, account, password);
allowAdministration = true;
} catch (UnauthorizedException e) {
@@ -136,6 +136,11 @@
allUsers.addAll(users);
return allUsers;
}
+
+ public ServerSettings refreshSettings() throws IOException {
+ settings = RpcUtils.getSettings(url, account, password);
+ return settings;
+ }
public List<FederationModel> refreshFederationRegistrations() throws IOException {
List<FederationModel> list = RpcUtils.getFederationRegistrations(url, account, password);
--
Gitblit v1.9.1