Bug: incorrectly loading user.
Fix for #3345165 for 2.x branch. Removes unnecessary call to User::load, which failed due to passing in user object rather than user ID.
Edited by James Shields
Fix for #3345165 for 2.x branch. Removes unnecessary call to User::load, which failed due to passing in user object rather than user ID.