Skip to content
Snippets Groups Projects
Commit 7b5d8713 authored by strentini's avatar strentini
Browse files

non-jira : (guiproperties)

parent f5dc8a3f
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,6 @@ package org.olat.core.util.prefs.db; ...@@ -31,7 +31,6 @@ package org.olat.core.util.prefs.db;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.olat.core.commons.persistence.DBFactory;
import org.olat.core.id.Identity; import org.olat.core.id.Identity;
import org.olat.core.logging.LogDelegator; import org.olat.core.logging.LogDelegator;
import org.olat.core.util.prefs.Preferences; import org.olat.core.util.prefs.Preferences;
...@@ -72,7 +71,7 @@ public class DbStorage extends LogDelegator implements PreferencesStorage{ ...@@ -72,7 +71,7 @@ public class DbStorage extends LogDelegator implements PreferencesStorage{
null, props); null, props);
// also save the properties to db, here (strentini) // also save the properties to db, here (strentini)
// fixes the "non-present gui preferences" for new users, or where guiproperties were manually deleted // fixes the "non-present gui preferences" for new users, or where guiproperties were manually deleted
DBFactory.getInstance().saveObject(property); PropertyManager.getInstance().saveProperty(property);
}else{ }else{
property.setTextValue(props); property.setTextValue(props);
PropertyManager.getInstance().updateProperty(property); PropertyManager.getInstance().updateProperty(property);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment