Commit ba0e0d98 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

get DomainTool from a portal to reduce _aq_dynamic calls.

git-svn-id: 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a1d729f9
......@@ -130,7 +130,7 @@ class RuleTool (UniqueObject, Folder):
- the rule must be of a known portal type
- Predicate criterions can be used (like start_date_range_min)
domain_tool = getToolByName(self, "portal_domains")
domain_tool = getToolByName(self.getPortalObject(), "portal_domains")
if tested_base_category_list is None:
tested_base_category_list = []
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment