diff options
author | Sashi20 | 2023-01-06 19:07:14 +0530 |
---|---|---|
committer | Sashi20 | 2023-01-06 19:07:14 +0530 |
commit | adfb66abb860fbdc63f11a62827e675044a10967 (patch) | |
tree | d39c795a0a8b9a72eb7c6029524331307270c00d | |
parent | 4501a215fbc6139fcb84cabe157aa560cd597d82 (diff) | |
download | fellowship_testimonials-adfb66abb860fbdc63f11a62827e675044a10967.tar.gz fellowship_testimonials-adfb66abb860fbdc63f11a62827e675044a10967.tar.bz2 fellowship_testimonials-adfb66abb860fbdc63f11a62827e675044a10967.zip |
Modify permissions to download
-rw-r--r-- | vle_registration.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vle_registration.inc b/vle_registration.inc index 6c076af..f0817d0 100644 --- a/vle_registration.inc +++ b/vle_registration.inc @@ -480,13 +480,7 @@ function view_animation_hackathon_vle_registrations() { function download_registration_details(){ global $user; /* get pending submissions to be approved */ - if ($user->uid == 0) - { - $msg = drupal_set_message(t('It is mandatory to login on this website to download the email IDs of the participants. If you are new user please create a new account first.'), 'error'); - //drupal_goto('/pssp'); - drupal_goto('user/login', array('query' => drupal_get_destination())); - return $msg; - } + $root_path = vle_registration_csv_path(); $my_submission_rows = array(); $query = db_select('animation_hackathon_vle_registration'); |