def unregister_cms_apps(app):
    """
    Django CMS doesn't offer a function to unregister a cms app
    Allows overriding cms apps in allink_apps
    """
    from cms.apphook_pool import apphook_pool
    if app.__name__ in apphook_pool.apps:
        del apphook_pool.apps[app.__name__]
