Merge branch 'MDL-49641-get_external_files_master' of https://github.com/jpahullo/moodle

This commit is contained in:
Dan Poltawski
2015-03-31 13:15:06 +01:00
+1 -1
View File
@@ -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