Skip to content
Snippets Groups Projects
Commit 07b91983 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

work on

parent affb9292
No related branches found
No related tags found
No related merge requests found
......@@ -87,13 +87,14 @@ class OwnCloudPlugin extends StudIPPlugin implements FilesystemPlugin {
}
$file = new FileRef();
$file->id = $file_id;
$file->foldertype = $folder;
$file->name = $filename;
$file->size = $info->size;
$file->mime_type = $info->mime_type;
$file->mkdate = $info->chdate;
$file->chdate = $info->chdate;
$file->id = $file_id;
$file->foldertype = $folder;
$file->name = $filename;
$file->size = $info->size;
$file->mime_type = $info->download_url;
$file->download_url = $info->mime_type;
$file->mkdate = $info->chdate;
$file->chdate = $info->chdate;
return $file;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment