summaryrefslogtreecommitdiff
path: root/vle_registration.inc
diff options
context:
space:
mode:
authorSashi202023-01-06 19:08:00 +0530
committerGitHub2023-01-06 19:08:00 +0530
commit23d0fab42550a57e80c88d638ff4c39ede56608b (patch)
treed39c795a0a8b9a72eb7c6029524331307270c00d /vle_registration.inc
parentba175403e1e38e890417ac8ae14ce7712fc59cd0 (diff)
parentadfb66abb860fbdc63f11a62827e675044a10967 (diff)
downloadfellowship_testimonials-master.tar.gz
fellowship_testimonials-master.tar.bz2
fellowship_testimonials-master.zip
Merge pull request #13 from Sashi20/masterHEADmaster
Modify permissions to download
Diffstat (limited to 'vle_registration.inc')
-rw-r--r--vle_registration.inc8
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');