]> git.mjollnir.org Git - moodle.git/commit
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of...
authortjhunt <tjhunt>
Fri, 15 Sep 2006 14:32:35 +0000 (14:32 +0000)
committertjhunt <tjhunt>
Fri, 15 Sep 2006 14:32:35 +0000 (14:32 +0000)
commit36075e092d619d659b832f7d949f608f8fdae177
tree37be642cb1b13d1ae666f748ef820608c7cd66e9
parent4b10f08b8833d6171e5c780ab0ad03df2421f28e
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.
admin/admin.php
admin/creators.php
admin/roles/assign.php
course/report/participation/index.php
course/student.php
lib/datalib.php
lib/deprecatedlib.php
user/index.php