this.queue = queue;
}
@Override
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("cancel")
<BUG>.setDescription("Cancels a pending task. Requires system administration permission.")
</BUG>
.setInternal(true)
<BUG>.setPost(true)
.setHandler(this);</BUG>
action

this.queue = queue;
}
@Override
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("cancel")
.setDescription("Cancels a pending task. Requires system administration permission. In-progress tasks can not be canceled.")
.setInternal(true)
.setPost(true)
.setSince("5.2")
.setHandler(this);
action
