From 4fcac9d2cbdafb51e3ee9ca3b3da64fd86103174 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Tue, 26 Nov 2013 15:58:15 -0500
Subject: [PATCH] Remove artifact setting from manager dialog

---
 src/test/java/com/gitblit/tests/GitBlitSuite.java |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/test/java/com/gitblit/tests/GitBlitSuite.java b/src/test/java/com/gitblit/tests/GitBlitSuite.java
index 239f523..96787fd 100644
--- a/src/test/java/com/gitblit/tests/GitBlitSuite.java
+++ b/src/test/java/com/gitblit/tests/GitBlitSuite.java
@@ -98,11 +98,6 @@
 		return getRepository("test/ambition.git");
 	}
 
-	public static Repository getIssuesTestRepository() throws Exception {
-		JGitUtils.createRepository(REPOSITORIES, "gb-issues.git").close();
-		return getRepository("gb-issues.git");
-	}
-
 	public static Repository getGitectiveRepository() throws Exception {
 		return getRepository("test/gitective.git");
 	}
@@ -160,7 +155,6 @@
 			cloneOrFetch("test/ambition.git", "https://github.com/defunkt/ambition.git");
 			cloneOrFetch("test/gitective.git", "https://github.com/kevinsawicki/gitective.git");
 
-			enableDocs("ticgit.git");
 			showRemoteBranches("ticgit.git");
 			automaticallyTagBranchTips("ticgit.git");
 			showRemoteBranches("test/jgit.git");
@@ -181,16 +175,6 @@
 			System.out.println("Error: " + t.getMessage());
 		}
 		System.out.println("done.");
-	}
-
-	private static void enableDocs(String repositoryName) {
-		try {
-			RepositoryModel model = GitBlit.self().getRepositoryModel(repositoryName);
-			model.useDocs = true;
-			GitBlit.self().updateRepositoryModel(model.name, model, false);
-		} catch (GitBlitException g) {
-			g.printStackTrace();
-		}
 	}
 
 	private static void showRemoteBranches(String repositoryName) {

--
Gitblit v1.9.1