diff options
author | Sashi20 | 2019-12-09 16:23:02 +0530 |
---|---|---|
committer | Sashi20 | 2019-12-09 16:23:02 +0530 |
commit | 1eff5287eb5edfb72c61049879ed99ffa925119b (patch) | |
tree | 17f6f3bcb63a5d2a7f47a0c30f9a4815a8ba928b | |
parent | 8dc7e948eeec14a32d4d49c8e0965d92b470c0d2 (diff) | |
download | dwsim_custom_model-1eff5287eb5edfb72c61049879ed99ffa925119b.tar.gz dwsim_custom_model-1eff5287eb5edfb72c61049879ed99ffa925119b.tar.bz2 dwsim_custom_model-1eff5287eb5edfb72c61049879ed99ffa925119b.zip |
Remove abstract file from completed models list
-rwxr-xr-x | custom_model_details.inc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/custom_model_details.inc b/custom_model_details.inc index 5badd73..19cb3a0 100755 --- a/custom_model_details.inc +++ b/custom_model_details.inc @@ -23,17 +23,10 @@ function custom_model_completed_proposals_all() while ($row = $result->fetchObject()) { $proposal_id = $row->id; - $query1 = db_select('custom_model_submitted_abstracts_file'); - $query1->fields('custom_model_submitted_abstracts_file'); - $query1->condition('file_approval_status', 1); - $query1->condition('proposal_id', $proposal_id); - $custom_model_files = $query1->execute(); - $custom_model_abstract = $custom_model_files->fetchObject(); $approval_date = date("Y", $row->approval_date); $preference_rows[] = array( $i, l($row->project_title, "custom-model/custom-model-run/" . $row->id), - l('Download', "custom-model/download/resource-file/" . $row->id), $row->contributor_name, $row->university, $approval_date @@ -42,8 +35,7 @@ function custom_model_completed_proposals_all() } //$row = $result->fetchObject() $preference_header = array( 'No', - 'custom model Project', - 'Abstract File', + 'Custom Model Project', 'Contributor Name', 'Institute', 'Year' |