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

add getFileInfo and getDirectoryContent to OC_Files for compatibility

parent 5569f07e
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,14 @@
class OC_Files {
static $tmpFiles = array();
public function getFileInfo($path){
return \OC\Files\Filesystem::getFileInfo($path);
}
public function getDirectoryContent($path){
return \OC\Files\Filesystem::getDirectoryContent($path);
}
/**
* return the content of a file or return a zip file containning multiply files
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment