def attachment_reparented(attachment, old_parent_realm, old_parent_id):
    """Called when an attachment is reparented.

        :since 1.3.2: deprecated and will be removed in 1.5.1. Use
            `attachment_moved` instead.
        """
