diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 07:44:26 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 13:53:59 +0200 |
commit | 9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e (patch) | |
tree | c755177c3886de1498010820b9a547a5314c8d41 /apps/files_external/js | |
parent | 8b38b601e5bd07559bb86d38132be31820c41627 (diff) | |
download | nextcloud-server-9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e.tar.gz nextcloud-server-9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e.zip |
Fix usage of deprecated OC.webroot
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/statusmanager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 563f8a76493..a65988353af 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -79,7 +79,7 @@ OCA.External.StatusManager = { } else { defObj = $.ajax({ type: 'GET', - url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'userglobalstorages') + '/' + mountData.id, + url: OC.getRootPath() + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'userglobalstorages') + '/' + mountData.id, data: {'testOnly' : false}, success: function (response) { if (response && response.status === 0) { |