Skip to content

Commit

Permalink
Clean out comment cruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsinger committed Jun 9, 2014
1 parent e0927ba commit 9812938
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions 2.x-activity-module/mod/aspirelists/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ function definition() {
$ltiPlugin = plugin_manager::instance()->get_plugin_info('mod_lti');

$ltiPluginId = $DB->get_field('modules', 'id', array('name'=>$ltiPlugin->name));
// $this->current->module = (string)$ltiPluginId;
// $this->current->modulename = $ltiPlugin->name;
// $this->current->add = $ltiPlugin->name;
// $this->_formname = 'mod_lti_mod_form';

$mform =& $this->_form;
// $mform->_formName = 'mod_lti_mod_form';
$mform->addElement('header', 'general', get_string('generalheader', 'aspirelists'));
$mform->addElement('text', 'name', get_string('section_title', 'aspirelists'));
$mform->setDefault('name', get_string('default_section_title', 'aspirelists'));
Expand All @@ -47,10 +42,7 @@ 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(method_exists($mform, 'setExpanded'))
{
$mform->setExpanded('course_display');
Expand Down

0 comments on commit 9812938

Please sign in to comment.