cubicweb/pyramid/core.py
changeset 12036 4c2c731f9190
parent 12028 08c866d2f11d
child 12043 b8d2e6b9f548
--- a/cubicweb/pyramid/core.py	Fri Mar 10 17:03:28 2017 +0100
+++ b/cubicweb/pyramid/core.py	Fri Mar 10 18:25:35 2017 +0100
@@ -295,11 +295,6 @@
     session = Session(request, user, repo)
     session._cached_lang = lang
     tools.cnx_attach_entity(session, user)
-    # Calling the hooks should be done only once, disabling it completely for
-    # now
-    # with session.new_cnx() as cnx:
-    #     repo.hm.call_hooks('session_open', cnx)
-    #     cnx.commit()
     return session