google: drop duplicate path trim from opendir()
opendir() trims the path passed then calls getDriveFile() - which immediately does the same trim operation. This breaks opendir() on the root directory, which causes the failure of the testStat() test when it checks the ctime of the root dir.
This commit is contained in:
parent
2023878d53
commit
3234c91557
1 changed files with 0 additions and 2 deletions
|
@ -228,8 +228,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 a new issue