Comment 5 for bug 1353802

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3612
Committed: http://gitorious.org/mahara/mahara/commit/a7a32f257839692d4e7e757efe196f02d6853b26
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit a7a32f257839692d4e7e757efe196f02d6853b26
Author: Nigel Cunningham <email address hidden>
Date: Tue Jul 29 15:12:27 2014 +1000

(Bug1353802) Don't call delete_records for new artefacts.

In ArtefactType::commit, don't bother calling delete_records
if we know the artefact that is being committed is new. In
testing the addition 2000 users from a CSV file, this patch
shaved 4 seconds off the completion time.

Change-Id: I5b22cb5fc936e67e9a37a0022a4488fc30604d03
Signed-off-by: Nigel Cunningham <email address hidden>