get_context_instance() deprecated

Changed to context_course()