Merge branch 'MDL-33981-Master' of https://github.com/tuanngocnguyen/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 31 Aug 2020 02:39:29 +0000 (10:39 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 31 Aug 2020 02:39:29 +0000 (10:39 +0800)
repository/equella/lib.php

index be5635d..319750b 100644 (file)
@@ -115,7 +115,7 @@ class repository_equella extends repository {
      * @return int
      */
     public function supported_returntypes() {
-        return FILE_REFERENCE;
+        return (FILE_INTERNAL | FILE_REFERENCE);
     }
 
     /**