diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-04-14 15:16:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 15:16:29 +0200 |
commit | b72115c269fab15e4559579867b77e055b010381 (patch) | |
tree | 7dd678fcc2b8d672def2cc73cfd55db55fdedca2 /src | |
parent | 9a33f084d539e16be99c8fae8efa018a45d589ee (diff) | |
parent | ff99395ae2e72a067e728658fc0e585ef963e1d6 (diff) |
Merge pull request #1567 from nextcloud/tintou/oc_config
Replace oc_config with OC.config
Diffstat (limited to 'src')
-rw-r--r-- | src/main.js | 4 |
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') }, |