diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-27 12:17:35 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-27 12:17:35 +0200 |
commit | 5bfff6c56e8d4d911c7a5265bb5462c7122ca495 (patch) | |
tree | 18520084c57bf557aff246a88aafd6f77c09815b /lib/files.php | |
parent | 3437071cf1776288d9239a89b1a6ceb9c5ddbce1 (diff) | |
download | nextcloud-server-5bfff6c56e8d4d911c7a5265bb5462c7122ca495.tar.gz nextcloud-server-5bfff6c56e8d4d911c7a5265bb5462c7122ca495.zip |
use absolute paths when resolving mount points
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 10 |
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']); - } -} |