Merge pull request #12088 from AdamWill/google-opendir-root
[WIP] google: drop duplicate path trim from opendir()
This commit is contained in:
commit
601c61fddf
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue