Commits

Davi Medeiros  committed c90dd87

Simplify ZCMLs

  • Participants
  • Parent commits b377764

Comments (0)

Files changed (2)

File ploneorgbr/portal/policy/configure.zcml

 
   <include package=".browser" />
   <include package=".upgrades" />
-  <include file="dependencies.zcml" />
+
+  <!-- Include configuration for dependencies listed in setup.py -->
+  <includeDependencies package="." />
 
   <genericsetup:registerProfile
       name="default"

File ploneorgbr/portal/policy/dependencies.zcml

-<configure
-    xmlns="http://namespaces.zope.org/zope"
-    xmlns:five="http://namespaces.zope.org/five"
-    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
-    xmlns:i18n="http://namespaces.zope.org/i18n"
-    i18n_domain="ploneorgbr.portal.policy">
-
-  <include package="collective.recaptcha" />
-  <include package="collective.simplesocial" />
-  <include package="collective.contentrules.mailtogroup" />
-  <include package="collective.contentrules.mailtolocalrole" />
-  <include package="collective.twitter.action" />
-  <include package="ploneorgbr.portal.theme" />
-  <include package="sc.social.like" />
-
-</configure>