MDL-81621 mod_bigbluebuttonbn: remove reflection setAccessible call.

See 361dfe8145 for context.
This commit is contained in:
Paul Holden 2024-04-22 08:30:06 +01:00
parent f0c1a3789d
commit b65b4892ae
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164

View File

@ -53,9 +53,7 @@ class base_send_notification_test extends advanced_testcase {
*/
private function get_instance_reflection(): \ReflectionMethod {
$rc = new \ReflectionClass(base_send_notification::class);
$rcm = $rc->getMethod('get_instance');
$rcm->setAccessible(true);
return $rcm;
return $rc->getMethod('get_instance');
}
/**