Test is already working. But I still have an error about capability
1) For the first I have an error in Manage tokens for my added user:
Missing capabilities: moodle:category/manage
I didn't find this capability in user's role capabilities. Ifound only the capability moodle/category:manage and it was allowed for my user.
Version of Moodle is 2.3. Help me please.
2) Except this, I can't find where the function moodle_user_create_users() is written ( for example ) . Can anyone help me? PLEASE!!!