summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-01-05 16:37:55 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-08 12:42:22 +0100
commita696d6c5618fdc2142d9c22b90c4eecc0e1e0acb (patch)
tree693ef9193da09eb28730dd47996da902a021d9d6
parent48ae3997d46b1f5393a79499a6520cdf7d0881e1 (diff)
downloadnextcloud-server-a696d6c5618fdc2142d9c22b90c4eecc0e1e0acb.tar.gz
nextcloud-server-a696d6c5618fdc2142d9c22b90c4eecc0e1e0acb.zip
Fix checking external storage status as non admin user
-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;