Fixing drift between CVS and git
This commit is contained in:
@@ -136,7 +136,7 @@ class assignment_uploadsingle extends assignment_base {
|
||||
}
|
||||
|
||||
function setup_elements(&$mform) {
|
||||
global $CFG, $COURSE, $DB;
|
||||
global $CFG, $COURSE;
|
||||
|
||||
$ynoptions = array( 0 => get_string('no'), 1 => get_string('yes'));
|
||||
|
||||
@@ -153,7 +153,6 @@ class assignment_uploadsingle extends assignment_base {
|
||||
$mform->addElement('select', 'maxbytes', get_string('maximumsize', 'assignment'), $choices);
|
||||
$mform->setDefault('maxbytes', $CFG->assignment_maxbytes);
|
||||
|
||||
$course_context = get_context_instance(CONTEXT_COURSE, $COURSE->id);
|
||||
}
|
||||
|
||||
function portfolio_exportable() {
|
||||
|
||||
Reference in New Issue
Block a user