From 148fcc9c93e7ef1b86e5cdf3efe0f70c6a95b2f6 Mon Sep 17 00:00:00 2001 From: Lai Wei Date: Wed, 27 Nov 2024 12:00:24 +0000 Subject: [PATCH] Avoid using file external and reference to OneDrive files because they require login --- repository/office365/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/office365/lib.php b/repository/office365/lib.php index 47fcfd13a..3dcfdce21 100644 --- a/repository/office365/lib.php +++ b/repository/office365/lib.php @@ -801,7 +801,7 @@ protected function contents_api_response_to_list($response, $path, $clienttype, * @return int */ public function supported_returntypes() { - return FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE; + return FILE_INTERNAL; } /**