Skip to content

Commit

Permalink
feat: Remove news default targets - EXO-65517 - Meeds-io/MIPs#68 (#897)
Browse files Browse the repository at this point in the history
No longer deliver the two lists Snapshot latest news and snapshotsliderNews by default
  • Loading branch information
GouadriaHanen committed Aug 11, 2023
1 parent b3edf51 commit a6e8308
Showing 1 changed file with 0 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,88 +47,6 @@
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>SliderNewsTargetMetadataPlugin</name>
<set-method>addMetadataPlugin</set-method>
<type>org.exoplatform.social.metadata.MetadataInitPlugin</type>
<init-params>
<object-param>
<name>metadata</name>
<object type="org.exoplatform.social.metadata.model.Metadata">
<field name="type">
<object type="org.exoplatform.social.metadata.model.MetadataType">
<field name="id">
<int>4</int>
</field>
<field name="name">
<string>newsTarget</string>
</field>
</object>
</field>
<field name="name">
<string>snapshotSliderNews</string>
</field>
<field name="properties">
<map type="java.util.HashMap">
<entry>
<key><string>label</string></key>
<value><string>Snapshot slider news</string></value>
</entry>
<entry>
<key><string>referenced</string></key>
<value><string>true</string></value>
</entry>
<entry>
<key><string>permissions</string></key>
<value><string>/platform/web-contributors</string></value>
</entry>
</map>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>LatestNewsTargetMetadataPlugin</name>
<set-method>addMetadataPlugin</set-method>
<type>org.exoplatform.social.metadata.MetadataInitPlugin</type>
<init-params>
<object-param>
<name>metadata</name>
<object type="org.exoplatform.social.metadata.model.Metadata">
<field name="type">
<object type="org.exoplatform.social.metadata.model.MetadataType">
<field name="id">
<int>4</int>
</field>
<field name="name">
<string>newsTarget</string>
</field>
</object>
</field>
<field name="name">
<string>snapshotLatestNews</string>
</field>
<field name="properties">
<map type="java.util.HashMap">
<entry>
<key><string>label</string></key>
<value><string>Snapshot latest news</string></value>
</entry>
<entry>
<key><string>referenced</string></key>
<value><string>true</string></value>
</entry>
<entry>
<key><string>permissions</string></key>
<value><string>/platform/web-contributors</string></value>
</entry>
</map>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>

<external-component-plugins>
Expand Down

0 comments on commit a6e8308

Please sign in to comment.