summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-27 10:40:27 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-27 10:40:27 +0200
commit3437071cf1776288d9239a89b1a6ceb9c5ddbce1 (patch)
treec9bbbb5202151aa7d23a5df8a6bf996e7a163c3c /lib/files.php
parentfcc92a9f43e75ecdb15adb0e948d45eac119306f (diff)
downloadnextcloud-server-3437071cf1776288d9239a89b1a6ceb9c5ddbce1.tar.gz
nextcloud-server-3437071cf1776288d9239a89b1a6ceb9c5ddbce1.zip
remove old searchByMime
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/files.php b/lib/files.php
index 6a063f216d5..28df2255809 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -28,24 +28,6 @@
class OC_Files {
static $tmpFiles = array();
- public static function searchByMime($mimetype_filter) {
- $files = array();
- $dirs_to_check = array('');
- while (!empty($dirs_to_check)) {
- // get next subdir to check
- $dir = array_pop($dirs_to_check);
- $dir_content = self::getDirectoryContent($dir, $mimetype_filter);
- foreach ($dir_content as $file) {
- if ($file['type'] == 'file') {
- $files[] = $dir . '/' . $file['name'];
- } else {
- $dirs_to_check[] = $dir . '/' . $file['name'];
- }
- }
- }
- return $files;
- }
-
/**
* return the content of a file or return a zip file containning multiply files
*