From c9fd2958d263ac7146e1818ef0b27676110c6a30 Mon Sep 17 00:00:00 2001 From: Lai Wei Date: Mon, 11 Apr 2022 12:20:18 +0100 Subject: [PATCH] Bug fix in handling incomplete configurations --- local/o365/classes/feature/sds/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;