Skip to content

Commit

Permalink
add dependency and code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaroWalter committed May 16, 2024
1 parent 856e200 commit b8313fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions classes/zoom.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ private static function get_events_from_db(): array {
+ $inparamscourses;

// Set the sql statement.
$sql = "SELECT e.id, e.name, z.name AS instancename , e.courseid, cm.id AS coursemoduleid, cm.availability AS availability, e.groupid, e.userid,
e.modulename, e.instance, e.eventtype, e.timestart, e.timemodified, e.visible
$sql = "SELECT e.id, e.name, z.name AS instancename , e.courseid, cm.id AS coursemoduleid, cm.availability AS availability,
e.groupid, e.userid, e.modulename, e.instance, e.eventtype, e.timestart, e.timemodified, e.visible
FROM {event} e
JOIN {modules} m ON e.modulename = m.name
JOIN {course_modules} cm ON (cm.course = e.courseid AND cm.module = m.id AND cm.instance = e.instance)
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

defined('MOODLE_INTERNAL') || die();
$plugin->component = 'townsquareexpansion_zoom';
$plugin->dependencies = ['local_townsquaresupport' => ANY_VERSION];
$plugin->dependencies = ['local_townsquaresupport' => ANY_VERSION, 'mod_zoom' => ANY_VERSION];
$plugin->release = '0.1.0';
$plugin->version = 2024051400;
$plugin->requires = 2022041900;
Expand Down

0 comments on commit b8313fc

Please sign in to comment.