提交 fd3fe877 编写于 作者: K kohsuke

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
上级 5fff1cb1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册