Comment 5 for bug 1523298

Reviewed: https://reviews.mahara.org/6016
Committed: https://git.mahara.org/mahara/mahara/commit/dfbdc06714f1b0e89deefee8deb2f38735463d07
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit dfbdc06714f1b0e89deefee8deb2f38735463d07
Author: Robert Lyon <email address hidden>
Date: Mon Dec 7 13:32:10 2015 +1300

Bug 1523298: Make get_owner_object() return LiveUser object

This way we can avoid re-making it multiple times further down the
chain.

Most places where the get_owner_object() object was passed can handle
dealing with a User object vs a StdObject anyway.

behatnotneeded - existing tests should suffice

Change-Id: I2b92d9e408066a9c3b4c2f0bb87fbe8370bf9911
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 2bcebcd4bb1359f924a438742bafad0486e6dc5f)