def call(self): cf = ConferenceHolder() for conf in cf.getValuesToList(): csbm = Catalog.getIdx("cs_bookingmanager_conference").get(conf.getId()) csbm._bookings = {} csbm._bookingsByType = {} collaborationIndex = IndexesHolder().getById("collaboration") collaborationIndex.cleanAll()
def call(self): cf = ConferenceHolder() for conf in cf.getValuesToList(): csbm = conf.getCSBookingManager() csbm._bookings = {} csbm._bookingsByType = {} collaborationIndex = IndexesHolder().getById("collaboration") collaborationIndex.cleanAll()