summaryrefslogtreecommitdiffstats
path: root/core/js/backgroundjobs.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-09 07:44:26 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-09 13:53:59 +0200
commit9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e (patch)
treec755177c3886de1498010820b9a547a5314c8d41 /core/js/backgroundjobs.js
parent8b38b601e5bd07559bb86d38132be31820c41627 (diff)
downloadnextcloud-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 'core/js/backgroundjobs.js')
-rw-r--r--core/js/backgroundjobs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/backgroundjobs.js b/core/js/backgroundjobs.js
index 8d51d519c8d..499d8e88073 100644
--- a/core/js/backgroundjobs.js
+++ b/core/js/backgroundjobs.js
@@ -21,7 +21,7 @@
// start worker once page has loaded
$(document).ready(function(){
- $.get( OC.webroot+'/cron.php' );
+ $.get( OC.getRootPath()+'/cron.php' );
$('.section .icon-info').tooltip({
placement: 'right'