aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r--lib/filesystemview.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 9687a8bceb4..6c2ca916310 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -279,23 +279,6 @@ class OC_FilesystemView {
return $this->basicOperation('free_space',$path);
}
- public function search($query){
- $files=array();
- $fakeRoot=$this->$fakeRoot;
- $fakeRootLength=strlen($fakeRoot);
- $results=OC_FileCache::search($query);
- if(is_array($results)){
- foreach($results as $result){
- $file=str_replace('//','/',$mountpoint.$result);
- if(substr($file,0,$fakeRootLength)==$fakeRoot){
- $file=substr($file,$fakeRootLength);
- $files[]=$file;
- }
- }
- }
- return $files;
- }
-
/**
* abstraction for running most basic operations
* @param string $operation