Skip to content

Commit

Permalink
Registry changes
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Jul 26, 2023
1 parent b043fff commit d5a5a43
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/design/plone/policy/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<version>3101</version>
<version>3102</version>
<dependencies>
<dependency>profile-plone.restapi:default</dependency>
<dependency>profile-design.plone.contenttypes:default</dependency>
Expand Down
9 changes: 9 additions & 0 deletions src/design/plone/policy/profiles/default/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,13 @@
<element>data-element</element>
</value>
</records>

<record field="show_author_info"
interface="plone.base.interfaces.syndication.ISiteSyndicationSettings"
name="plone.base.interfaces.syndication.ISiteSyndicationSettings.show_author_info"
purge="True"
>
<value>False</value>
</record>

</registry>
10 changes: 10 additions & 0 deletions src/design/plone/policy/upgrades.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,14 @@
handler=".upgrades.to_3101"
/>
</genericsetup:upgradeSteps>
<genericsetup:upgradeSteps
profile="design.plone.policy:default"
source="3101"
destination="3102"
>
<genericsetup:upgradeStep
title="Set plone.base.plone.base.interfaces.syndication.ISiteSyndicationSettings.show_author_info to False"
handler=".upgrades.update_registry"
/>
</genericsetup:upgradeSteps>
</configure>

0 comments on commit d5a5a43

Please sign in to comment.