summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-01 13:36:27 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-01 13:36:27 +0200
commit601c61fddf2edd7a13332c07c111533868118f2c (patch)
treefac6353cb691e71df9ea0efe0ae6524eff7e5b35 /apps
parent0d4562c938e5dd2bb6b3a0d7fd9a446464cbcfe7 (diff)
parent3234c91557a5737e9e14097efa31e723b3ca390b (diff)
downloadnextcloud-server-601c61fddf2edd7a13332c07c111533868118f2c.tar.gz
nextcloud-server-601c61fddf2edd7a13332c07c111533868118f2c.zip
Merge pull request #12088 from AdamWill/google-opendir-root
[WIP] google: drop duplicate path trim from opendir()
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/google.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index e29b1036244..94f954178c0 100644
--- a/apps/files_external/lib/google.php
+++ b/apps/files_external/lib/google.php
@@ -248,8 +248,6 @@ class Google extends \OC\Files\Storage\Common {
}
public function opendir($path) {
- // Remove leading and trailing slashes
- $path = trim($path, '/');
$folder = $this->getDriveFile($path);
if ($folder) {
$files = array();