diff options
author | Sashi20 | 2019-06-10 18:10:39 +0530 |
---|---|---|
committer | Sashi20 | 2019-06-10 18:10:39 +0530 |
commit | 497867178a2cc300795fe470246d096a641d3025 (patch) | |
tree | 9b0352669c477a688eb3313e9c59837506c4762d /manage_proposal.inc | |
parent | 253f1630331977e60ec8b3d504adecaf670ae87b (diff) | |
download | om_flowsheet-497867178a2cc300795fe470246d096a641d3025.tar.gz om_flowsheet-497867178a2cc300795fe470246d096a641d3025.tar.bz2 om_flowsheet-497867178a2cc300795fe470246d096a641d3025.zip |
Update the manage proposal interface to delete the code
Diffstat (limited to 'manage_proposal.inc')
-rwxr-xr-x | manage_proposal.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc index dd8d004..5502855 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -1068,6 +1068,8 @@ function om_flowsheet_proposal_edit_form_submit($form, &$form_state) //db_query("DELETE FROM {om_flowsheet_proposal} WHERE id = %d", $proposal_id); if (om_rrmdir_project($proposal_id) == TRUE) { + db_delete('om_flowsheet_submitted_abstracts_file')->condition('proposal_id', $proposal_id)->execute(); + db_delete('om_flowsheet_submitted_abstracts')->condition('proposal_id', $proposal_id)->execute(); $query = db_delete('om_flowsheet_proposal'); $query->condition('id', $proposal_id); $num_deleted = $query->execute(); |