HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-06-18 5dae0e33532654f306420b456544f28d69214678
fix list of pac-domains
2 files modified
10 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 5 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java 5 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -123,7 +123,10 @@
        final List<?> pacsList = pacsQuery.getResultList();
        for (final Object obj : pacsList) {
            if (obj instanceof Pac) {
                domsNames.add(((Pac) obj).getName() + ".hostsharing.net");
                final Pac p = (Pac) obj;
                if ("PAC/WEB".equals(p.getBasepac().getName())) {
                    domsNames.add(p.getName() + ".hostsharing.net");
                }
            }
        }
        final Map<String, Object> namedZonesTemplateVars = new HashMap<String, Object>();
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -169,7 +169,10 @@
        final List<?> pacsList = pacsQuery.getResultList();
        for (final Object obj : pacsList) {
            if (obj instanceof Pac) {
                domsNames.add(((Pac) obj).getName() + ".hostsharing.net");
                final Pac p = (Pac) obj;
                if ("PAC/WEB".equals(p.getBasepac().getName())) {
                    domsNames.add(p.getName() + ".hostsharing.net");
                }
            }
        }
        final Map<String, Object> namedZonesTemplateVars = new HashMap<String, Object>();