diff --git a/backup/moodle2/backup_zoom_stepslib.php b/backup/moodle2/backup_zoom_stepslib.php index 09f6e51c..a4416d1f 100644 --- a/backup/moodle2/backup_zoom_stepslib.php +++ b/backup/moodle2/backup_zoom_stepslib.php @@ -15,7 +15,15 @@ // along with Moodle. If not, see . /** - * Define the complete zoom structure for backup, with file and id annotations + * Defines backup_zoom_activity_structure_step class. + * + * @package mod_zoom + * @copyright 2015 UC Regents + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +/** + * Define the complete zoom structure for backup, with file and id annotations. * * @package mod_zoom * @category backup diff --git a/classes/task/update_meetings.php b/classes/task/update_meetings.php index 074cdc48..82a70572 100644 --- a/classes/task/update_meetings.php +++ b/classes/task/update_meetings.php @@ -35,12 +35,29 @@ require_once($CFG->dirroot.'/mod/zoom/locallib.php'); +/** + * Scheduled task to sychronize meeting data. + * + * @package mod_zoom + * @copyright 2015 UC Regents + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ class update_meetings extends \core\task\scheduled_task { + /** + * Returns name of task. + * + * @return string + */ public function get_name() { return get_string('updatemeetings', 'mod_zoom'); } + /** + * Updates meetings that are not expired. + * + * @return boolean + */ public function execute() { global $DB; diff --git a/classes/webservice.php b/classes/webservice.php index 07fb0e12..0a2d2c19 100644 --- a/classes/webservice.php +++ b/classes/webservice.php @@ -313,7 +313,7 @@ protected function parse_zoom_object(&$zoom, $required, &$data) { */ protected function format_meeting_response($zoom) { $response = &$this->lastresponse; - // "Undoing" the transformations in parse_zoom_object. + // Undoing the transformations in parse_zoom_object. // Convert duration to seconds. $response->duration *= 60; // Convert string to timestamp. diff --git a/mod_form.php b/mod_form.php index 27930eae..f2d7cc24 100755 --- a/mod_form.php +++ b/mod_form.php @@ -119,7 +119,7 @@ public function definition() { // Add standard grading elements. $this->standard_grading_coursemodule_elements(); - $mform->setDefault('grade',false); + $mform->setDefault('grade', false); // Add standard elements, common to all modules. $this->standard_coursemodule_elements();