src/com/gitblit/RpcServlet.java
@@ -49,7 +49,7 @@ private static final long serialVersionUID = 1L; public static final int PROTOCOL_VERSION = 3; public static final int PROTOCOL_VERSION = 4; public RpcServlet() { super(); @@ -319,6 +319,13 @@ } else { response.sendError(notAllowedCode); } } else if (RpcRequest.CLEAR_REPOSITORY_CACHE.equals(reqType)) { // clear the repository list cache if (allowAdmin) { GitBlit.self().resetRepositoryListCache(); } else { response.sendError(notAllowedCode); } } // send the result of the request