Skip to content

Commit

Permalink
Commenting out courseformat stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsinger committed May 2, 2014
1 parent d3baf26 commit 3070e2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 2.x-activity-module/mod/aspirelists/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3070e2e

Please sign in to comment.