NOBUG: improved check of user context existence
commitc36671d72c68317f33f250ca919a978c71f8bf5b
authorDavid Mudrak <david.mudrak@gmail.com>
Thu, 17 Jun 2010 21:02:36 +0000 (17 21:02 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Thu, 17 Jun 2010 21:02:36 +0000 (17 21:02 +0000)
tree772b5b14772da161e9427dc49285124f335851cd
parentc17e376337c1fd715d58f9294d615c1ae04fe6b8
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.
user/index.php