Rather than copy the same artefact once per page we should only copy
it once per copy of page(s) transaction. Eg if we are to copy a
collection of 5 pages and they all have a block pointing to the same
image we should copy that image only once not 5 times.
behatnotneeded - behat file to come
Change-Id: Iecdde53515cdd9d5ee02918252b486aa0f662fab
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/6608 /git.mahara. org/mahara/ mahara/ commit/ baac44f1edfb551 36d7a2d06d49533 235e4e71ba
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit baac44f1edfb551 36d7a2d06d49533 235e4e71ba
Author: Robert Lyon <email address hidden>
Date: Tue Jun 21 11:26:45 2016 +1200
Bug 1594579: Copy view artefacts only once
Rather than copy the same artefact once per page we should only copy
it once per copy of page(s) transaction. Eg if we are to copy a
collection of 5 pages and they all have a block pointing to the same
image we should copy that image only once not 5 times.
behatnotneeded - behat file to come
Change-Id: Iecdde53515cdd9 d5ee02918252b48 6aa0f662fab
Signed-off-by: Robert Lyon <email address hidden>