MDL-20700 coding style - new sloppy trailing whitespace fixed
This commit is contained in:
@@ -60,7 +60,7 @@ class external_service_form extends moodleform {
|
||||
}
|
||||
|
||||
$mform->addElement('searchableselector', 'requiredcapability', get_string('requiredcapability', 'webservice'), $capabilitychoices);
|
||||
|
||||
|
||||
/// display notification error if the current requiredcapability doesn't exist anymore
|
||||
if(empty($currentcapabilityexist)) {
|
||||
global $OUTPUT;
|
||||
@@ -73,7 +73,7 @@ class external_service_form extends moodleform {
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
||||
$this->add_action_buttons(true);
|
||||
|
||||
|
||||
$this->set_data($service);
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ class external_service_form extends moodleform {
|
||||
}
|
||||
|
||||
function validation($data, $files) {
|
||||
$errors = parent::validation($data, $files);
|
||||
$errors = parent::validation($data, $files);
|
||||
return $errors;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ if ($mform->is_cancelled()) {
|
||||
$DB->update_record('external_services', $data);
|
||||
add_to_log(1, 'webservice', 'edit', $CFG->wwwroot."/admin/settings.php?section=externalservices", get_string('editservice', 'webservice', $data));
|
||||
}
|
||||
|
||||
|
||||
redirect($returnurl);
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ class edit_index_save extends XMLDBAction {
|
||||
/// Prepare the output
|
||||
$o = '<p>' .implode(', ', $errors) . '</p>
|
||||
<p>' . $tempindex->readableInfo() . '</p>';
|
||||
$o.= '<a href="index.php?action=edit_index&index=' .$index->getName() . '&table=' . $table->getName() .
|
||||
$o.= '<a href="index.php?action=edit_index&index=' .$index->getName() . '&table=' . $table->getName() .
|
||||
'&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
|
||||
$this->output = $o;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user