/** * If a bean save is not done for some reason, this method will undo any of the beans that were created * * @param array $ids ids of user_last_import records created */ protected function _undoCreatedBeans(array $ids) { $focus = new UsersLastImport(); foreach ($ids as $id) { $focus->undoById($id); } }