diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php index 7cb2832c9fe7b9e9c02fb737cddb71f9ede146b0..2dbaefe7a78ebdca37331f3619f0a7db4e3b2bb1 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');