git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5568 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke 2007-10-29 17:06:04 +00:00
parent 8e8b119707
commit 2b66e17ef8
2 changed files with 2 additions and 5 deletions

View File

@ -460,9 +460,7 @@ public class Functions {
result.add(b);
} else {
// old plugins built before 1.150 may not implement BuildStepDescriptor
if(project instanceof Project) {
result.add(b);
}
result.add(b);
}
}
return result;

View File

@ -32,8 +32,7 @@ public class BuildWrappers {
result.add(bwd);
} else {
// old BuildWrapper that doesn't implement BuildWrapperDescriptor
if(project instanceof Project)
result.add(w);
result.add(w);
}
}
return result;