Commit 4c925ae7 authored by Ayush Tiwari's avatar Ayush Tiwari

ERP5Catalog: Remove useless object class declaration in __init__

As pointed by /Jerome, it is only used for ZMI classes
nexedi/erp5@557c20bd (comment 52113)
parent 4aa76869
...@@ -38,9 +38,9 @@ document_classes = updateGlobals( this_module, globals(), permissions_module = P ...@@ -38,9 +38,9 @@ document_classes = updateGlobals( this_module, globals(), permissions_module = P
# Define object classes and tools # Define object classes and tools
from Tool import ArchiveTool, ERP5CatalogTool from Tool import ArchiveTool, ERP5CatalogTool
from Document import ERP5Catalog
import CatalogTool import CatalogTool
object_classes = (ERP5Catalog.ERP5Catalog,) object_classes = ()
portal_tools = (CatalogTool.CatalogTool, portal_tools = (CatalogTool.CatalogTool,
ERP5CatalogTool.ERP5CatalogTool, ERP5CatalogTool.ERP5CatalogTool,
ArchiveTool.ArchiveTool) ArchiveTool.ArchiveTool)
......
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