diff --git a/classes/webservice.php b/classes/webservice.php index 83404e54..901e4686 100644 --- a/classes/webservice.php +++ b/classes/webservice.php @@ -812,8 +812,7 @@ public function provide_license($zoomuserid) { // Changes least_recently_active_user to a basic user so we can use their license. if ($leastrecentlyactivepaiduserid) { $this->make_call("users/$leastrecentlyactivepaiduserid", ['type' => ZOOM_USER_TYPE_BASIC], 'patch'); - } - else { + } else { throw new moodle_exception('errornousersfound', 'mod_zoom'); } }