diff --git a/amd/src/page-edit-plan.js b/amd/src/page-edit-plan.js index f20ac79..dc59099 100644 --- a/amd/src/page-edit-plan.js +++ b/amd/src/page-edit-plan.js @@ -29,7 +29,6 @@ import {loadStrings} from './util/string-helper'; import {processStudyplan} from './studyplan-processor'; import {download, upload} from './downloader'; import {studyplanTiming} from './util/date-helper'; -import {premiumenabled, premiumstatus} from "./util/premium"; import mFormComponents from "./util/mform-helper"; Vue.use(mFormComponents); @@ -145,7 +144,6 @@ export function init(contextid, categoryid, options) { }, computed: { - premiumenabled, dropdownTitle() { if (this.activestudyplan && this.activestudyplan.name) { return this.activestudyplan.name; diff --git a/amd/src/report-viewer-components.js b/amd/src/report-viewer-components.js index f9efcb7..97eaf9f 100644 --- a/amd/src/report-viewer-components.js +++ b/amd/src/report-viewer-components.js @@ -17,7 +17,6 @@ import Debugger from './util/debugger'; import Config from 'core/config'; import {processStudyplan, objCopy} from './studyplan-processor'; import TSComponents from './treestudyplan-components'; -import {premiumenabled} from "./util/premium"; import FitTextVue from './util/fittext-vue'; @@ -926,7 +925,6 @@ export default { } }, methods: { - premiumenabled, formatDatetime, onLineHeightChange(lineid) { // All layers for this line have the first slot send an update message on layer height change. @@ -1044,7 +1042,7 @@ export default { >
{{ value.shortname }} -