Please sign in to comment.
NOBUG: improved check of user context existence
When importing users from backup, their CONTEXT_USER level context is not created yet. Therefore, make_context_subobj() creates $user->context object here with empty values. So we have to call full get_context_instance() here to create the context.
- Loading branch information...