add getFileInfo and getDirectoryContent to OC_Files for compatibility
This commit is contained in:
parent
5569f07e8d
commit
288ecf318c
|
@ -28,6 +28,14 @@
|
||||||
class OC_Files {
|
class OC_Files {
|
||||||
static $tmpFiles = array();
|
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
|
* return the content of a file or return a zip file containning multiply files
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue