diff --git a/main/admin/user_add.php b/main/admin/user_add.php index 468a3c8e58..5799793d53 100755 --- a/main/admin/user_add.php +++ b/main/admin/user_add.php @@ -245,19 +245,6 @@ $form->addElement( //drh list (display only if student) $display = (isset($_POST['status']) && $_POST['status'] == STUDENT) || !isset($_POST['status']) ? 'block' : 'none'; -//@todo remove the drh list here. This code is unused -$form->addElement('html', '
'); - -if (isset($drh_list) && is_array($drh_list)) { - foreach ($drh_list as $drh) { - $drh_select->addOption( - api_get_person_name($drh['firstname'], $drh['lastname']), - $drh['user_id'] - ); - } -} -$form->addElement('html', '
'); - if (api_is_platform_admin()) { // Platform admin $group = [];