Skip to content
Snippets Groups Projects
Commit e52ab59b authored by Robin Appelman's avatar Robin Appelman
Browse files

Revert "use readfile() instead iof fopen() for file download over webdav."

This reverts commit 9af74a9c.
parent 10bf36a6
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D ...@@ -42,7 +42,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
*/ */
public function get() { public function get() {
return OC_Filesystem::readfile($this->path); return OC_Filesystem::fopen($this->path,'r');
} }
......
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