Skip to content

Commit

Permalink
Remove CourseField class - refs BT#9413
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed May 15, 2015
1 parent 2f72837 commit 263290d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
2 changes: 1 addition & 1 deletion main/admin/course_add.php
Expand Up @@ -114,7 +114,7 @@
$obj->fill_grade_model_select_in_form($form);

//Extra fields
$extra_field = new CourseField();
$extra_field = new ExtraField('course');
$extra = $extra_field->addElements($form);

$htmlHeadXtra[] ='
Expand Down
4 changes: 2 additions & 2 deletions main/admin/course_edit.php
Expand Up @@ -202,7 +202,7 @@
$form->addRule('disk_quota', get_lang('ThisFieldIsRequired'), 'required');
$form->addRule('disk_quota', get_lang('ThisFieldShouldBeNumeric'), 'numeric');

$specialCourseField = new CourseField();
$specialCourseField = new ExtraField('course');
$specialCourseFieldInfo = $specialCourseField->get_handler_field_info_by_field_variable('special_course');

if (!empty($specialCourseFieldInfo)) {
Expand Down Expand Up @@ -231,7 +231,7 @@
}

//Extra fields
$extra_field = new CourseField();
$extra_field = new ExtraField('course');
$extra = $extra_field->addElements($form, $courseId);

$htmlHeadXtra[] = '
Expand Down
28 changes: 0 additions & 28 deletions main/inc/lib/CourseField.php

This file was deleted.

0 comments on commit 263290d

Please sign in to comment.