Merge pull request #12088 from AdamWill/google-opendir-root

[WIP] google: drop duplicate path trim from opendir()
This commit is contained in:
Vincent Petry 2015-09-01 13:36:27 +02:00
commit 601c61fddf
1 changed files with 0 additions and 2 deletions

View File

@ -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();