diff options
author | kondou <kondou@ts.unde.re> | 2013-07-10 02:36:43 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-07-10 02:36:43 +0200 |
commit | 70b4f85911c0d1a774c6a446c44e4ec464abaee4 (patch) | |
tree | eba5749e1296931540872536e25adbe74d0c6d9c | |
parent | 2f11f56d323cc7a559ecc42f521083301479920e (diff) | |
download | nextcloud-server-70b4f85911c0d1a774c6a446c44e4ec464abaee4.tar.gz nextcloud-server-70b4f85911c0d1a774c6a446c44e4ec464abaee4.zip |
Use isIgnoredDir()
-rw-r--r-- | apps/files_trashbin/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php index 7cb2832c9fe..2dbaefe7a78 100644 --- a/apps/files_trashbin/index.php +++ b/apps/files_trashbin/index.php @@ -24,7 +24,7 @@ if ($dir) { $dirContent = $view->opendir($dir); $i = 0; while($entryName = readdir($dirContent)) { - if ( $entryName !== '.' && $entryName !== '..' ) { + if (!\OC\Files\Filesystem::isIgnoredDir($entryName)) { $pos = strpos($dir.'/', '/', 1); $tmp = substr($dir, 0, $pos); $pos = strrpos($tmp, '.d'); |