diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php index 2d236eded7..981a118f18 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; } }