mirror of
https://github.com/moodle/moodle.git
synced 2025-07-26 00:31:35 +02:00
MDL-20534 lti: B14 - whitespace and comment fixes
This commit is contained in:
@@ -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');
|
||||
|
||||
|
@@ -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());
|
||||
|
Reference in New Issue
Block a user