release(comment, workflow);
this.addWorkflowHistoryEntry("Released in project mode");
}
else {
boolean result = workflow.publish(comment);
if (result == false) {
this.setStatus(WGContent.STATUS_REVIEW);
this.addWorkflowHistoryEntry("Submitted for approval");