Skip to content

Commit

Permalink
Merge pull request #530 from jrchamp/fix/mod_zoom-external
Browse files Browse the repository at this point in the history
external: fix class references
  • Loading branch information
jrchamp authored Oct 12, 2023
2 parents 3d02a35 + 0527447 commit 1b5383f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions classes/output/mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
namespace mod_zoom\output;

use context_module;
use mod_zoom_external;
use mod_zoom\external;

/**
* Mobile output class for zoom
Expand Down Expand Up @@ -57,7 +57,7 @@ public static function mobile_course_view($args) {

// WS to get zoom state.
try {
$zoomstate = mod_zoom_external::get_state($cm->id);
$zoomstate = external::get_state($cm->id);
} catch (\Exception $e) {
$zoomstate = [];
}
Expand Down
4 changes: 2 additions & 2 deletions db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
$functions = [

'mod_zoom_get_state' => [
'classname' => 'mod_zoom_external',
'classname' => 'mod_zoom\external',
'methodname' => 'get_state',
'classpath' => 'mod/zoom/classes/external.php',
'description' => 'Determine if a zoom meeting is available, meeting '
Expand All @@ -41,7 +41,7 @@
],

'mod_zoom_grade_item_update' => [
'classname' => 'mod_zoom_external',
'classname' => 'mod_zoom\external',
'methodname' => 'grade_item_update',
'classpath' => 'mod/zoom/classes/external.php',
'description' => 'Creates or updates grade item for the given zoom instance and returns join url.',
Expand Down

0 comments on commit 1b5383f

Please sign in to comment.