def pre_delete_title(instance, **kwargs):
    """Save old state to instance and setup path
    """
    if instance.page.languages:
        languages = instance.page.languages.split(',')
    else:
        languages = []
    if instance.language in languages:
        languages.remove(instance.language)
        instance.page.languages = ','.join(languages)
        instance.page._publisher_keep_state = True
        instance.page.save(no_signals=True)
    if instance.publisher_is_draft:
        instance.page.mark_descendants_pending(instance.language)
