-
Richard Mansfield authored
The cron job to rebuild the artefact_parent_cache table uses all the available memory when the artefact table gets big, so it needs to read it in in smaller chunks. This version of the function ensures that all artefacts with the same owner are read in at the same time, which means all artefact parent relationships are available. See http://mahara.org/interaction/forum/topic.php?id=2467 and http://mahara.org/interaction/forum/topic.php?id=2645 for more details. Change-Id: I459a2d4a9637716809476c5547bdf1ab7e81f0d4 Signed-off-by: Richard Mansfield <richard.mansfield@catalyst.net.nz>
28599c24