Commit 73ca250b authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove useless argument from my files function

parent 87348619
......@@ -395,7 +395,7 @@ abstract class ArtefactTypeFileBase extends ArtefactType {
}
public static function get_my_files_data($parentfolderid, $userid, $group=null, $institution=null, $idkeys=true) {
public static function get_my_files_data($parentfolderid, $userid, $group=null, $institution=null) {
$select = '
SELECT
a.id, a.artefacttype, a.mtime, f.size, a.title, a.description,
......@@ -498,12 +498,6 @@ abstract class ArtefactTypeFileBase extends ArtefactType {
}
uasort($filedata, array("ArtefactTypeFileBase", "my_files_cmp"));
if (!$idkeys) {
// Temporary: allow blog attachment stuff to continue to
// work with the old file.js & tablerenderer.js
return array_values($filedata);
}
return $filedata;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment