]> git.mjollnir.org Git - moodle.git/commit
Some improvements in efficiency of Recent Activity.
authormoodler <moodler>
Wed, 14 Jan 2004 11:50:29 +0000 (11:50 +0000)
committermoodler <moodler>
Wed, 14 Jan 2004 11:50:29 +0000 (11:50 +0000)
commitd05956ac9f9f59cfb0742d79ddb76d4f33f08b5a
tree5ffbaa899e04d3a99a92dd6c8c9ea7699996f32c
parentda8079852c475247583af0bbaebc4394ed6d08b4
Some improvements in efficiency of Recent Activity.

There is now a new field in forum_discussions which has the userid
of the author in it.  This saves a lookup every time to forum_posts.

There is also some caching and rearrangement of the logic.

It seems to work OK, I'm about to do some speed tests on moodle.org
mod/forum/backuplib.php
mod/forum/db/mysql.php
mod/forum/db/mysql.sql
mod/forum/db/postgres7.php
mod/forum/db/postgres7.sql
mod/forum/lib.php
mod/forum/restorelib.php
mod/forum/version.php