Procházet zdrojové kódy

refresh configs after activation

tags/v0.1.8
Jonathan Cobb před 4 roky
rodič
revize
c057db4b0d
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. +4
    -1
      bubble-server/src/main/java/bubble/dao/account/AccountDAO.java

+ 4
- 1
bubble-server/src/main/java/bubble/dao/account/AccountDAO.java Zobrazit soubor

@@ -268,7 +268,10 @@ public class AccountDAO extends AbstractCRUDDAO<Account> implements SqlViewSearc
public boolean activated() {
if (activated.get() && !configuration.testMode()) return true;
final boolean accountsExist = countAll() > 0;
if (accountsExist) activated.set(true);
if (accountsExist) {
activated.set(true);
configuration.refreshPublicSystemConfigs();
}
return accountsExist;
}



Načítá se…
Zrušit
Uložit