Remove unused code
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
a3b7ce71b8
commit
5897b13caf
3 changed files with 0 additions and 46 deletions
|
|
@ -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)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue