Commit 6845e45d authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Rafael Monnerat

ZSQLCatalog: Stop exposing SQLQuery.

parent 8ec40d90
...@@ -2594,6 +2594,5 @@ def getComparisonOperatorInstance(operator): ...@@ -2594,6 +2594,5 @@ def getComparisonOperatorInstance(operator):
return operator_dict[operator] return operator_dict[operator]
from Query.EntireQuery import EntireQuery from Query.EntireQuery import EntireQuery
from Query.SQLQuery import SQLQuery
verifyClass(ISearchKeyCatalog, Catalog) verifyClass(ISearchKeyCatalog, Catalog)
...@@ -38,7 +38,7 @@ def initialize(context): ...@@ -38,7 +38,7 @@ def initialize(context):
from AccessControl import ModuleSecurityInfo, ClassSecurityInfo from AccessControl import ModuleSecurityInfo, ClassSecurityInfo
ModuleSecurityInfo('Products.ZSQLCatalog.SQLCatalog').declarePublic( ModuleSecurityInfo('Products.ZSQLCatalog.SQLCatalog').declarePublic(
'ComplexQuery', 'Query', 'NegatedQuery', 'AndQuery', 'OrQuery', 'ComplexQuery', 'Query', 'NegatedQuery', 'AndQuery', 'OrQuery',
'BaseQuery', 'SQLQuery') 'BaseQuery')
from Query import Query, SimpleQuery from Query import Query, SimpleQuery
from SearchKey import SearchKey from SearchKey import SearchKey
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