From 3070e2e8c7596e59a072a6d71ac8579cac0b39ce Mon Sep 17 00:00:00 2001 From: Ross Singer Date: Fri, 2 May 2014 10:33:38 -0400 Subject: [PATCH] Commenting out courseformat stuff. --- 2.x-activity-module/mod/aspirelists/mod_form.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/2.x-activity-module/mod/aspirelists/mod_form.php b/2.x-activity-module/mod/aspirelists/mod_form.php index fc765d6..e307986 100644 --- a/2.x-activity-module/mod/aspirelists/mod_form.php +++ b/2.x-activity-module/mod/aspirelists/mod_form.php @@ -47,10 +47,10 @@ function definition() { array(ASPIRELISTS_DISPLAY_PAGE => get_string('displaypage', 'aspirelists'), ASPIRELISTS_DISPLAY_INLINE => get_string('displayinline', 'aspirelists'))); $mform->addHelpButton('display', 'display', 'mod_aspirelists'); - if (!$this->courseformat->has_view_page()) { - $mform->setConstant('display', ASPIRELISTS_DISPLAY_PAGE); - $mform->hardFreeze('display'); - } + // if (!$this->courseformat->has_view_page()) { + // $mform->setConstant('display', ASPIRELISTS_DISPLAY_PAGE); + // $mform->hardFreeze('display'); + // } $mform->setExpanded('course_display'); // Adding option to show sub-folders expanded or collapsed by default.