]> git.mjollnir.org Git - moodle.git/commit
Trying a different tack for recent_activity since the old way was
authormoodler <moodler>
Sat, 26 Apr 2003 15:08:34 +0000 (15:08 +0000)
committermoodler <moodler>
Sat, 26 Apr 2003 15:08:34 +0000 (15:08 +0000)
commit1b5910c4a5e9b7f3c4a3358357a7b43ddf2a3966
tree99e1eb60b778827b185a493315704bb2074d8a78
parenta54b8dd3af47b4f7664087e7dd8c758da27982bd
Trying a different tack for recent_activity since the old way was
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).

Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.

I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.

Let's see.
course/lib.php
mod/assignment/lib.php
mod/forum/lib.php
mod/journal/lib.php
mod/quiz/lib.php
mod/survey/lib.php