From 0254a3c406f2a945e2b01bbde3044d5a60751750 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Fri, 10 Oct 2014 18:26:43 +0200 Subject: make trashbin compatible with objectstore, replace glob with search in cache, make unknown free space work like unlimited free space --- lib/private/files/view.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/private') diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 95f3e9a2c7f..3d3406af94e 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1109,6 +1109,16 @@ class View { return $this->searchCommon('%' . $query . '%', 'search'); } + /** + * search for files with the name matching $query + * + * @param string $query + * @return FileInfo[] + */ + public function searchRaw($query) { + return $this->searchCommon($query, 'search'); + } + /** * search for files by mimetype * -- cgit v1.2.3