MDL-33483 repository: Coding style tidyup
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 27 Feb 2017 03:31:00 +0000 (11:31 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 27 Feb 2017 03:31:00 +0000 (11:31 +0800)
repository/googledocs/db/upgrade.php
repository/googledocs/lib.php

index 89f475f..da8d731 100644 (file)
@@ -48,5 +48,6 @@ function xmldb_repository_googledocs_upgrade($oldversion) {
         // Plugin savepoint reached.
         upgrade_plugin_savepoint(true, 2017011100, 'repository', 'googledocs');
     }
+
     return true;
 }
index 26ff6ed..ebca92f 100644 (file)
@@ -502,7 +502,6 @@ class repository_googledocs extends repository {
      * @param string $classname repository class name.
      */
     public static function type_config_form($mform, $classname = 'repository') {
-
         $callbackurl = new moodle_url(self::CALLBACKURL);
 
         $a = new stdClass;
@@ -571,7 +570,6 @@ class repository_googledocs extends repository {
         $mform->addElement('select', 'spreadsheetformat', get_string('spreadsheetformat', 'repository_googledocs'), $spreadsheetformat);
         $mform->setDefault('spreadsheetformat', $spreadsheetformat['xlsx']);
         $mform->setType('spreadsheetformat', PARAM_ALPHANUM);
-
     }
 }
 // Icon from: http://www.iconspedia.com/icon/google-2706.html.