'See the docs for xmodule.modulestore.mixed.MixedModuleStore'

def unpublish(self, location, user_id, **kwargs):

    with remove_ccx(location) as (location, restore):
        return restore(self._modulestore.unpublish(location, user_id, **kwargs))
