diff --git a/local/o365/classes/feature/sds/utils.php b/local/o365/classes/feature/sds/utils.php index 39f5754a0..6c6b4558b 100644 --- a/local/o365/classes/feature/sds/utils.php +++ b/local/o365/classes/feature/sds/utils.php @@ -55,7 +55,7 @@ public static function get_apiclient() : ?unified { $apiclient = new unified($unifiedtoken, $httpclient); return $apiclient; } else { - static::mtrace('Could not construct system API user token for SDS sync task.'); + mtrace('Could not construct system API user token for SDS sync task.'); } } catch (moodle_exception $e) { return null;