Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
azayati committed Nov 6, 2023
1 parent dea143f commit ee28912
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,40 +25,40 @@
xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

<external-component-plugins>
<external-component-plugins>
<target-component>org.exoplatform.portal.config.UserPortalConfigService</target-component>
<component-plugin>
<name>new.portal.config.user.listener</name>
<set-method>initListener</set-method>
<type>org.exoplatform.portal.config.NewPortalConfigListener</type>
<description>this listener init the portal configuration</description>
<priority>590</priority>
<init-params>
<object-param>
<name>portal.configuration</name>
<object type="org.exoplatform.portal.config.NewPortalConfig">
<field name="predefinedOwner">
<collection type="java.util.HashSet">
<value>
<string>administration</string>
</value>
</collection>
</field>
<field name="ownerType">
<string>portal</string>
</field>
<field name="templateLocation">
<string>war:/conf/transferRules/portal</string>
</field>
<field name="override">
<boolean>${exo.ecms.portalConfig.administration.override:true}</boolean>
</field>
<field name="importMode">
<string>${exo.ecms.portalConfig.administration.importmode:insert}</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
<component-plugin>
<name>new.portal.config.user.listener</name>
<set-method>initListener</set-method>
<type>org.exoplatform.portal.config.NewPortalConfigListener</type>
<description>this listener init the portal configuration</description>
<priority>590</priority>
<init-params>
<object-param>
<name>portal.configuration</name>
<object type="org.exoplatform.portal.config.NewPortalConfig">
<field name="predefinedOwner">
<collection type="java.util.HashSet">
<value>
<string>administration</string>
</value>
</collection>
</field>
<field name="ownerType">
<string>portal</string>
</field>
<field name="templateLocation">
<string>war:/conf/transferRules/portal</string>
</field>
<field name="override">
<boolean>${exo.ecms.portalConfig.administration.override:true}</boolean>
</field>
<field name="importMode">
<string>${exo.ecms.portalConfig.administration.importmode:insert}</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,12 @@
</object-param>
</init-params>
</component-plugin>

<component-plugin>
<name>new.portal.config.user.listener</name>
<set-method>initListener</set-method>
<type>org.exoplatform.portal.config.NewPortalConfigListener</type>
<description>this listener init the portal configuration</description>
<priority>690</priority>
<priority>690</priority>
<init-params>
<object-param>
<name>portal.configuration</name>
Expand Down Expand Up @@ -145,7 +144,6 @@
</object-param>
</init-params>
</component-plugin>

<component-plugin profiles="analytics">
<name>new.portal.config.user.listener</name>
<set-method>initListener</set-method>
Expand Down

0 comments on commit ee28912

Please sign in to comment.