You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/04/08 03:27:56 UTC

[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1864] default group reload is improved

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 469babd  [OPENMEETINGS-1864] default group reload is improved
469babd is described below

commit 469babdcff0a792c7a15385e660ccab409cc84c0
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sun Apr 8 10:27:19 2018 +0700

    [OPENMEETINGS-1864] default group reload is improved
---
 .../java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java
index 561e233..8916505 100644
--- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java
+++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java
@@ -62,7 +62,6 @@ import static org.apache.openmeetings.util.OpenmeetingsVariables.FLASH_SSL_PORT;
 import static org.apache.openmeetings.util.OpenmeetingsVariables.FLASH_VIDEO_CODEC;
 import static org.apache.openmeetings.util.OpenmeetingsVariables.USER_LOGIN_MINIMUM_LENGTH;
 import static org.apache.openmeetings.util.OpenmeetingsVariables.USER_PASSWORD_MINIMUM_LENGTH;
-import static org.apache.openmeetings.util.OpenmeetingsVariables.getDefaultGroup;
 import static org.apache.openmeetings.util.OpenmeetingsVariables.getRoomSettings;
 import static org.apache.openmeetings.util.OpenmeetingsVariables.getWebAppRootKey;
 import static org.apache.openmeetings.util.OpenmeetingsVariables.getWicketApplicationName;
@@ -449,7 +448,7 @@ public class ConfigurationDao implements IDataProviderDao<Configuration> {
 	}
 
 	private void reloadDefaultGroup() {
-		setDefaultGroup(getLong(CONFIG_DEFAULT_GROUP_ID, getDefaultGroup()));
+		setDefaultGroup(getLong(CONFIG_DEFAULT_GROUP_ID, null));
 	}
 
 	public void reinit() {

-- 
To stop receiving notification emails like this one, please contact
solomax@apache.org.