summaryrefslogtreecommitdiffstats
path: root/src/main.js
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2020-04-11 17:25:49 +0200
committerCorentin Noël <corentin@elementary.io>2020-04-11 17:29:57 +0200
commitff99395ae2e72a067e728658fc0e585ef963e1d6 (patch)
tree0e734fa823277e5d493776d20e4def3b344cc30d /src/main.js
parent6b95266e963d3bbcd53546198419dd4f1c852b0e (diff)
Replace oc_config with OC.config
Signed-off-by: Corentin Noël <corentin@elementary.io>
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.js b/src/main.js
index 0328d5f6..c752e160 100644
--- a/src/main.js
+++ b/src/main.js
@@ -57,14 +57,12 @@ Vue.prototype.t = t
Vue.prototype.n = n
// eslint-disable-next-line
Vue.prototype.appVersion = appVersion
-// eslint-disable-next-line
-Vue.prototype.oc_config = oc_config
Vue.prototype.OC = OC
Vue.prototype.OCA = OCA
// Force redirect if rewrite enabled but accessed through index.php
if (window.location.pathname.split('/')[1] === 'index.php'
- && oc_config.modRewriteWorking) {
+ && OC.config.modRewriteWorking) {
router.push({
name: 'group',
params: { selectedGroup: t('contacts', 'All contacts') },