toyomoyo
102d890c14
remove_admin() no longer referenced
2006-09-18 10:47:09 +00:00
toyomoyo
6eccd8f099
add_creator no longer in use
2006-09-18 10:18:26 +00:00
skodak
4e5f3064bf
role assignment and unassignment now propagates to metacourses
2006-09-17 08:42:42 +00:00
moodler
888fb649a8
Converted deprecated get_teacher() to use new tables
2006-09-16 13:55:30 +00:00
skodak
8f8ead90c7
fixed unenrol_student() - now uses roles instead of user_students table
2006-09-16 12:05:31 +00:00
skodak
7b6a42f5b8
coverted deprecated get_group_students() to use legacy capability instead of user_students table
2006-09-16 06:22:32 +00:00
tjhunt
36075e092d
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
...
Also a few more ISNULL()s eliminated.
And a typo role_assignment -> role_assignments.
2006-09-15 14:32:35 +00:00
toyomoyo
71dea306b4
changing lib functions to work with roles, some functions might not work as expected now
2006-09-15 09:08:48 +00:00
moodler
613bbd7c2b
Moving deprecated functions out of datalib.php
...
Many of these still need updating to remove all dependence on user_xxx tables
2006-09-10 07:07:52 +00:00
moodler
c2da075758
Further reductions in logic to deprectaed functions
2006-09-04 08:31:07 +00:00
skodak
6d574c33b4
fixed missing global $USER
2006-09-04 08:01:57 +00:00
toyomoyo
2acc290c17
legacy functions to use 4th parameter to by pass doanything capability
2006-09-04 04:50:12 +00:00
moodler
c4d0753b25
Moving deprecated functions to deprecatedlib.php from moodlelib.php and
...
some cleanups around the place.
Many of the functions in deprecatedlib.php have been rewritten to work with
the new roles and capabilities so that they can still work as well as possible.
2006-09-03 08:10:10 +00:00