summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-05-17 14:23:08 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-05-20 14:01:14 +0200
commit1799e1acaf6d93e8041182c7420bc428fc114eb3 (patch)
tree371037374189b2266a1f9dc872c582fc5ed8fdb8 /core/src
parent9fce7014af2fd43264b0ec0d5baa92423fcb28b2 (diff)
downloadnextcloud-server-1799e1acaf6d93e8041182c7420bc428fc114eb3.tar.gz
nextcloud-server-1799e1acaf6d93e8041182c7420bc428fc114eb3.zip
dont use deprecated oc_config in url generation
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/routing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/routing.js b/core/src/OC/routing.js
index 145f075c1b2..8a8bd508d51 100644
--- a/core/src/OC/routing.js
+++ b/core/src/OC/routing.js
@@ -91,7 +91,7 @@ export const generateUrl = (url, params, options) => {
}
- if (oc_config.modRewriteWorking === true) {
+ if (OC.config.modRewriteWorking === true) {
return getRootPath() + _build(url, params);
}