summaryrefslogtreecommitdiffstats
path: root/lib/filestorage
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-02-29 13:18:19 -0500
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-02-29 13:18:33 -0500
commitbaffa03fa59430312e9c625451c633b54a3a51ce (patch)
tree082e8976b961419bc618a33438f5bec382086c1d /lib/filestorage
parentf040ce044c20a80e03a76b0aa92292839122f929 (diff)
downloadnextcloud-server-baffa03fa59430312e9c625451c633b54a3a51ce.tar.gz
nextcloud-server-baffa03fa59430312e9c625451c633b54a3a51ce.zip
Fix opendir for folders aka Google Docs collections
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/google.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/filestorage/google.php b/lib/filestorage/google.php
index 0c562941d41..49985548382 100644
--- a/lib/filestorage/google.php
+++ b/lib/filestorage/google.php
@@ -136,8 +136,7 @@ class OC_Filestorage_Google extends OC_Filestorage_Common {
$next = 'https://docs.google.com/feeds/default/private/full/folder%3Aroot/contents';
} else {
if ($entry = $this->getResource($path)) {
- $collectionId = $entry->getElementsByTagNameNS('http://schemas.google.com/g/2005', 'resourceId')->item(0)->nodeValue;
- $next = 'https://docs.google.com/feeds/default/private/full/folder%3A'.$collectionId.'/contents';
+ $next = $entry->getElementsByTagName('content')->item(0)->getAttribute('src');
} else {
return false;
}