diff options
author | Christian Berendt <berendt@b1-systems.de> | 2013-10-23 08:01:32 +0200 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2013-10-23 08:01:32 +0200 |
commit | a1e956263c3a02ec692894990f535e0304576c20 (patch) | |
tree | d69d81de0b3cb9a332fcb2811478dd384f76ce34 /apps/files_external | |
parent | b92061da5ab2d11f803731628c4304aa8cd302e3 (diff) | |
download | nextcloud-server-a1e956263c3a02ec692894990f535e0304576c20.tar.gz nextcloud-server-a1e956263c3a02ec692894990f535e0304576c20.zip |
Revert "make Swift::testLocal workable by fixing the prefix used with the object listing in opendir"
This reverts commit b92061da5ab2d11f803731628c4304aa8cd302e3.
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/swift.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php index 2d236eded73..981a118f182 100644 --- a/apps/files_external/lib/swift.php +++ b/apps/files_external/lib/swift.php @@ -198,18 +198,15 @@ class Swift extends \OC\Files\Storage\Common { $path .= '/'; } - error_log($path."\n", 3, "/tmp/opendir"); - try { $files = array(); $objects = $this->container->ObjectList(array( - 'prefix' => $path . '/' + 'prefix' => $path )); while ($object = $objects->Next()) { $file = basename($object->Name()); if ($file !== basename($path)) { - error_log($file."\n", 3, "/tmp/opendir"); $files[] = $file; } } |