summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-08 18:19:48 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-08 18:19:48 +0100
commit37265fd094930b23a6844af1769cdad00ff930d4 (patch)
tree9abd0d9cf428ac52cd7749f4a7cd92fddfc44f54 /apps
parent5618e9a8b1c30cfdb596b1f1386ad722403a1850 (diff)
parenta696d6c5618fdc2142d9c22b90c4eecc0e1e0acb (diff)
downloadnextcloud-server-37265fd094930b23a6844af1769cdad00ff930d4.tar.gz
nextcloud-server-37265fd094930b23a6844af1769cdad00ff930d4.zip
Merge pull request #21467 from owncloud/external-status-check-userglobal
Fix checking external storage status as non admin user
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/js/statusmanager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index 4048bfc31bc..6137b7d89e6 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -77,7 +77,7 @@ OCA.External.StatusManager = {
} else {
defObj = $.ajax({
type : 'GET',
- url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'globalstorages') + '/' + mountData.id,
+ url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'userglobalstorages') + '/' + mountData.id,
success : function(response) {
if (response && response.status === 0) {
self.mountStatus[mountData.mount_point] = response;