MDL-78750 communication_matrix: Dynamic settings

This commit is contained in:
Stevani Andolo 2023-09-28 11:25:19 +08:00 committed by Sara Arjona
parent 89eae3a811
commit a78921005f
No known key found for this signature in database

View file

@ -766,7 +766,7 @@ class communication_feature implements
if (
!empty($matrixhomeserverurl) &&
!empty($matrixaccesstoken) &&
(PHPUNIT_TEST || BEHAT_SITE_RUNNING || !empty($matrixelementurl))
(PHPUNIT_TEST || defined('BEHAT_SITE_RUNNING') || !empty($matrixelementurl))
) {
return true;
}