Remove unused code

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-08-30 14:52:38 +02:00
commit 5897b13caf
No known key found for this signature in database
GPG key ID: F941078878347C0C
3 changed files with 0 additions and 46 deletions

View file

@ -228,7 +228,6 @@ export default {
formQuizQuestions: []
}
},
system: [],
lang: '',
locale: '',
placeholder: '',
@ -333,7 +332,6 @@ export default {
created() {
this.indexPage = OC.generateUrl('apps/forms/')
this.getSystemValues()
this.lang = OC.getLanguage()
try {
this.locale = OC.getLocale()
@ -370,17 +368,6 @@ export default {
this.sidebar = !this.sidebar
},
getSystemValues() {
this.$http.get(OC.generateUrl('apps/forms/get/system'))
.then((response) => {
this.system = response.data.system
}, (error) => {
this.form.event.hash = ''
/* eslint-disable-next-line no-console */
console.log(error.response)
})
},
addShare(item) {
this.form.shares.push(item)
},