Merge pull request #21467 from owncloud/external-status-check-userglobal

Fix checking external storage status as non admin user
This commit is contained in:
Thomas Müller 2016-01-08 18:19:48 +01:00
commit 37265fd094
1 changed files with 1 additions and 1 deletions

View File

@ -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;