aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/files.php b/lib/files.php
index 28df2255809..e6b324f062b 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -249,13 +249,3 @@ class OC_Files {
return false;
}
}
-
-function fileCmp($a, $b) {
- if ($a['type'] == 'dir' and $b['type'] != 'dir') {
- return -1;
- } elseif ($a['type'] != 'dir' and $b['type'] == 'dir') {
- return 1;
- } else {
- return strnatcasecmp($a['name'], $b['name']);
- }
-}