Commit c4c3b0e6 authored by Hanno Schlichting's avatar Hanno Schlichting

We don't need products anymore

parent 4ec0d20a
......@@ -41,10 +41,6 @@ from Products.ZCTextIndex.ZCTextIndex import ZCTextIndex
def createDatabase():
# XXX We have to import and init products in order for PluginIndexes to
# be registered.
OFS.Application.import_products()
# Create a DemoStorage and put an Application in it
db = DB(DemoStorage())
conn = db.open()
......@@ -52,11 +48,6 @@ def createDatabase():
app = OFS.Application.Application()
root['Application'] = app
transaction.commit()
# Init products
#OFS.Application.initialize(app)
OFS.Application.install_products(app) # XXX: this is still icky
return app
app = createDatabase()
......
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