From e275f25e8ba5abbfe4213f2abc8c9ff7d7144875 Mon Sep 17 00:00:00 2001 From: jerome mouneyrac Date: Mon, 3 May 2010 03:47:47 +0000 Subject: [PATCH] registration MDL-19313 disable site image url --- admin/registration/forms.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/registration/forms.php b/admin/registration/forms.php index 8843c29a761..570bad5f5cd 100644 --- a/admin/registration/forms.php +++ b/admin/registration/forms.php @@ -246,6 +246,7 @@ class site_registration_form extends moodleform { // $mform->setType('imageurl', PARAM_URL); // $mform->setDefault('imageurl', $imageurl); // $mform->addHelpButton('imageurl', 'imageurl', 'hub'); + $mform->addElement('hidden', 'imageurl', ''); //TODO: temporary /// Display statistic that are going to be retrieve by the hub $coursecount = $DB->count_records('course')-1;