add getFileInfo and getDirectoryContent to OC_Files for compatibility

This commit is contained in:
Robin Appelman 2012-11-15 22:08:08 +01:00
parent 5569f07e8d
commit 288ecf318c
1 changed files with 8 additions and 0 deletions

View File

@ -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
*