]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20700 coding style - new sloppy trailing whitespace fixed
authorPetr Skoda <skodak@moodle.org>
Mon, 9 Nov 2009 10:11:48 +0000 (10:11 +0000)
committerPetr Skoda <skodak@moodle.org>
Mon, 9 Nov 2009 10:11:48 +0000 (10:11 +0000)
admin/webservice/forms.php
admin/webservice/service.php
admin/xmldb/actions/edit_index_save/edit_index_save.class.php

index cd386b881c8769a478f3ac557c81a7f452365f3f..6df2d8ff418124c035e44fe078214795b9f103fd 100644 (file)
@@ -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;
     }
 }
index 63771d15e13566a9015d1bca3508d812c4f34c44..5ce40846ea0ac04f85a3a0f72776b67cf7101607 100644 (file)
@@ -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);
 }
 
index 6bd89dff85e85672baa6eb849192924613e173fc..68f409fa9caa164b68ecdd68a1063ec9f8888300 100644 (file)
@@ -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&amp;index=' .$index->getName() . '&amp;table=' . $table->getName() . 
+            $o.= '<a href="index.php?action=edit_index&amp;index=' .$index->getName() . '&amp;table=' . $table->getName() .
                  '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
             $this->output = $o;
         }