From 5b5b31f125c33973aebbae28226163c716d2d332 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 29 Sep 2011 17:00:12 -0400
Subject: [PATCH] Disable blame link on commit page if no file history.

---
 src/com/gitblit/GitBlit.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java
index 62b93e7..c35340a 100644
--- a/src/com/gitblit/GitBlit.java
+++ b/src/com/gitblit/GitBlit.java
@@ -249,6 +249,7 @@
 	public void setUserService(IUserService userService) {
 		logger.info("Setting up user service " + userService.toString());
 		this.userService = userService;
+		this.userService.setup(settings);
 	}
 
 	/**
@@ -971,7 +972,8 @@
 	 * @param proposal
 	 *            the proposal
 	 * @param gitblitUrl
-	 *            the url of your gitblit instance
+	 *            the url of your gitblit instance to send an email to
+	 *            administrators
 	 * @return true if the proposal was submitted
 	 */
 	public boolean submitFederationProposal(FederationProposal proposal, String gitblitUrl) {

--
Gitblit v1.9.1