12 lines
306 B
Python
12 lines
306 B
Python
from Products.CMFCore.utils import getToolByName
|
|
|
|
|
|
def index_object(obj, event):
|
|
"""Index the object when it is added/modified to the conversation."""
|
|
obj.indexObject()
|
|
|
|
|
|
def unindex_object(obj, event):
|
|
"""Unindex the object when it is removed from the conversation."""
|
|
obj.unindexObject()
|