diff options
author | Sashi20 | 2023-01-06 19:08:00 +0530 |
---|---|---|
committer | GitHub | 2023-01-06 19:08:00 +0530 |
commit | 23d0fab42550a57e80c88d638ff4c39ede56608b (patch) | |
tree | d39c795a0a8b9a72eb7c6029524331307270c00d | |
parent | ba175403e1e38e890417ac8ae14ce7712fc59cd0 (diff) | |
parent | adfb66abb860fbdc63f11a62827e675044a10967 (diff) | |
download | fellowship_testimonials-23d0fab42550a57e80c88d638ff4c39ede56608b.tar.gz fellowship_testimonials-23d0fab42550a57e80c88d638ff4c39ede56608b.tar.bz2 fellowship_testimonials-23d0fab42550a57e80c88d638ff4c39ede56608b.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'); |