fixed a compilation problem in the backup plugin.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20182 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-07-27 16:09:05 +00:00
1 parent 5fff1cb106
commit fd3fe87705
1 file changed
+8
@@ -2356,6 +2356,14 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
rsp.sendRedirect(".");
}
/**
* @deprecated as of 1.317
* Use {@link #doQuietDown()} instead.
*/
public synchronized void doQuietDown(StaplerResponse rsp) throws IOException, ServletException {
doQuietDown().generateResponse(null,rsp,this);
}
public synchronized HttpRedirect doQuietDown() throws IOException, ServletException {
checkPermission(ADMINISTER);
isQuietingDown = true;