Merge branch 'MDL-49641-get_external_files_master' of https://github.com/jpahullo/moodle
This commit is contained in:
@@ -522,7 +522,7 @@ class file_storage {
|
||||
* @param int $repositoryid
|
||||
* @param string $sort A fragment of SQL to use for sorting
|
||||
*/
|
||||
public function get_external_files($repositoryid, $sort = 'sortorder, itemid, filepath, filename') {
|
||||
public function get_external_files($repositoryid, $sort = '') {
|
||||
global $DB;
|
||||
$sql = "SELECT ".self::instance_sql_fields('f', 'r')."
|
||||
FROM {files} f
|
||||
|
||||
Reference in New Issue
Block a user