Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
c57fb620
Commit
c57fb620
authored
Mar 19, 2015
by
Thomas Müller
Browse files
Merge pull request #14946 from owncloud/dropbox-root-fix
Fix root request path for Dropbox
parents
857b22c6
5b6ecb2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_external/lib/dropbox.php
View file @
c57fb620
...
...
@@ -100,7 +100,12 @@ class Dropbox extends \OC\Files\Storage\Common {
return
$contents
;
}
else
{
try
{
$response
=
$this
->
dropbox
->
getMetaData
(
$path
,
'false'
);
$requestPath
=
$path
;
if
(
$path
===
'.'
)
{
$requestPath
=
''
;
}
$response
=
$this
->
dropbox
->
getMetaData
(
$requestPath
,
'false'
);
if
(
!
isset
(
$response
[
'is_deleted'
])
||
!
$response
[
'is_deleted'
])
{
$this
->
metaData
[
$path
]
=
$response
;
return
$response
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment