Best practice forum (Archived)

تمت إزالة منتدى المناقشة هذا

 
لقد تمت إزالة مشاركة المنتدى هذه
Wednesday, 17 April 2013, 9:13 PM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
David Curry (Core Developer)
Re: Understanding the Manager path in mdl_pos.assignments
بواسطة Wednesday, 17 April 2013, 9:38 PM - David Curry (Core Developer)
مجموعة Totara

Hey Martinique,

Yes that is right. The important thing to remember is that those numbers match the mdl_user::id database field not the idnumber field that you can set in the profile. And that it should follow all the way up the tree, so if 0000 had a manager you would have to add him beforehand as well and so on and so on.

Note: This is not reccomended, there are totara core api functions (like assign_user_position) that you could use through a small php script instead of running sql straight on the database that would make this a lot safer, and probably easier.

Hope that helps
David

لقد تمت إزالة مشاركة المنتدى هذه
Tuesday, 23 April 2013, 8:52 AM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها