Author: hoang_to
Date: 2010-08-11 22:03:01 -0400 (Wed, 11 Aug 2010)
New Revision: 3805
Modified:
portal/branches/branched-r3776/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
Log:
Apply patch for GTNPORTAL-1144
Modified:
portal/branches/branched-r3776/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
===================================================================
---
portal/branches/branched-r3776/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2010-08-11
13:15:34 UTC (rev 3804)
+++
portal/branches/branched-r3776/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2010-08-12
02:03:01 UTC (rev 3805)
@@ -352,11 +352,7 @@
public void addUserPref(String addedUserPref) throws Exception
{
DataStorage service = getApplicationComponent(DataStorage.class);
- org.exoplatform.portal.pom.spi.gadget.Gadget gadget = service.load(state,
ApplicationType.GADGET);
- if (gadget == null)
- {
- gadget = new org.exoplatform.portal.pom.spi.gadget.Gadget();
- }
+ org.exoplatform.portal.pom.spi.gadget.Gadget gadget = new
org.exoplatform.portal.pom.spi.gadget.Gadget();
//
gadget.addUserPref(addedUserPref);
Show replies by date