MDL-20534 lti: B14 - whitespace and comment fixes

This commit is contained in:
Eloy Lafuente (stronk7)
2011-11-18 16:05:22 +01:00
parent 3a2927081c
commit 194f2c60ef
3 changed files with 11 additions and 11 deletions

View File

@@ -65,8 +65,8 @@ function xmldb_lti_upgrade($oldversion) {
$dbman = $DB->get_manager();
if($oldversion < 2011111600){
//Rename showdescription to showdescriptionlaunch to not conflict with setting from core Moodle
//Rename showtitle as well to be consistent
// Rename showdescription to showdescriptionlaunch to not conflict with setting from core Moodle
// Rename showtitle as well to be consistent
$table = new xmldb_table('lti');
$field = new xmldb_field('showtitle', XMLDB_TYPE_INTEGER, '1', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, '0', 'debuglaunch');

View File

@@ -70,7 +70,7 @@ class mod_lti_mod_form extends moodleform_mod {
$this->add_intro_editor(false, get_string('basicltiintro', 'lti'));
$mform->setAdvanced('introeditor');
//Display the label to the right of the checkbox so it looks better & matches rest of the form
// Display the label to the right of the checkbox so it looks better & matches rest of the form
$coursedesc = $mform->getElement('showdescription');
if(!empty($coursedesc)){
$coursedesc->setText(' ' . $coursedesc->getLabel());