Removed more non-community (aka Prem/Premium/License) code

This commit is contained in:
djmaze 2020-08-24 20:56:14 +02:00
parent d5665463fe
commit e3e5929b21
35 changed files with 140 additions and 792 deletions

View file

@ -22,12 +22,8 @@ class PaneSettingsAdminView extends AbstractViewNext {
constructor() {
super();
this.adminDomain = ko.observable(Settings.settingsGet('AdminDomain'));
this.version = ko.observable(Settings.appSettingsGet('version'));
this.capa = !!Settings.settingsGet('PremType');
this.community = RL_COMMUNITY;
this.adminManLoading = ko.computed(
() =>
'000' !==

View file

@ -1,38 +0,0 @@
import ko from 'ko';
import Promises from 'Promises/User/Ajax';
import { popup } from 'Knoin/Knoin';
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
@popup({
name: 'View/Popup/WelcomePage',
templateID: 'PopupsWelcomePage'
})
class WelcomePagePopupView extends AbstractViewNext {
constructor() {
super();
this.welcomePageURL = ko.observable('');
}
clearPopup() {
this.welcomePageURL('');
}
/**
* @param {string} sUrl
* @returns {void}
*/
onShow(sUrl) {
this.clearPopup();
this.welcomePageURL(sUrl);
}
onHide() {
Promises.welcomeClose();
}
}
export { WelcomePagePopupView, WelcomePagePopupView as default };