/** * cleans up all old zombie data * * @param OnlineShop_Framework_ProductInterfaces_IIndexable $object * @param array $subObjectIds */ protected function doCleanupOldZombieData(OnlineShop_Framework_ProductInterfaces_IIndexable $object, array $subObjectIds) { $cleanupIds = $this->tenantConfig->getSubIdsToCleanup($object, $subObjectIds); foreach ($cleanupIds as $idToCleanup) { $this->doDeleteFromIndex($idToCleanup); } }