[FIXED HUDSON-1750] The doConfigSubmit method already does the security check, and this is checking the wrong permission, too. In 1.220.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9718 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-05-30 21:21:41 +00:00
1 parent e08793d1cf
commit a438aed630
1 file changed
-3
@@ -143,9 +143,6 @@ public abstract class Project<P extends Project<P,B>,B extends Build<P,B>>
protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
super.submit(req,rsp);
if(!Hudson.adminCheck(req,rsp))
return;
req.setCharacterEncoding("UTF-8");
buildWrappers = buildDescribable(req, BuildWrappers.getFor(this), "wrapper");