]> git.mjollnir.org Git - moodle.git/commit
get_my_courses() callers update - check of the $fields param - pass null instead
authormartinlanghoff <martinlanghoff>
Sun, 6 May 2007 05:32:40 +0000 (05:32 +0000)
committermartinlanghoff <martinlanghoff>
Sun, 6 May 2007 05:32:40 +0000 (05:32 +0000)
commit0a66585b3d087beda8bd30ad4106b0699bef6b79
treeacf3d49c7165016f5d4074a65b18ed741649ad92
parent4dbca99edfd5177fcecfaba777766177bd130e22
get_my_courses() callers update - check of the $fields param - pass null instead

The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.
calendar/lib.php
mod/forum/lib.php
my/index.php
user/view.php