'See xmodule.modulestore.__init__.ModuleStoreWrite.delete_course'

def delete_course(self, course_key, user_id):

    (course_key, _) = strip_ccx(course_key)
    return self._modulestore.delete_course(course_key, user_id)
