Using l:confirmationLink instead of AbstractItem/delete.jelly and AbstractProject/wipeOutWorkspace.jelly.

This commit is contained in:
Jesse Glick committed 2013-04-11 17:45:40 -04:00
1 parent 3f164c9570
commit 7d31e7c5d6
33 files changed
+61 -389

No files matched your search

@@ -477,6 +477,9 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
/**
* Deletes this item.
* Note on the funny name: for reasons of historical compatibility, this URL is {@code /doDelete}
* since it predates {@code <l:confirmationLink>}. {@code /delete} goes to a Jelly page
* which should now be unused by core but is left in case plugins are still using it.
*/
@CLIMethod(name="delete-job")
@RequirePOST