Commit d2b4fed1 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't commit the user object when restoring logged in as user

parent 9d1ecf98
......@@ -657,7 +657,6 @@ class LiveUser extends User {
if (is_null($id)) {
$id = $this->get('id');
$this->activityprefs = load_activity_preferences($id);
$this->accountprefs = load_account_preferences($id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment