mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-33483 repository: Coding style tidyup
This commit is contained in:
parent
eccbea3dd0
commit
b117fb3db9
2 changed files with 1 additions and 2 deletions
|
@ -48,5 +48,6 @@ function xmldb_repository_googledocs_upgrade($oldversion) {
|
|||
// Plugin savepoint reached.
|
||||
upgrade_plugin_savepoint(true, 2017011100, 'repository', 'googledocs');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue