Ensures that member saving events don't get raised for normal member operations like validating and getting a user and flagging them as online. This fixes: U4-3451 Cache on Partial View refreshed, after member execute login

This commit is contained in:
Shannon
2014-04-24 16:28:37 +10:00
parent 61055380c5
commit 2621b25fd3

View File

@@ -515,7 +515,7 @@ namespace umbraco.providers.members
//don't raise events for this! It just sets the member dates, if we do raise events this will
// cause all distributed cache to execute - which will clear out some caches we don't want.
// http://issues.umbraco.org/issue/U4-3451
m.Save();
m.Save(false);
}
return ConvertToMembershipUser(m);
@@ -555,7 +555,7 @@ namespace umbraco.providers.members
//don't raise events for this! It just sets the member dates, if we do raise events this will
// cause all distributed cache to execute - which will clear out some caches we don't want.
// http://issues.umbraco.org/issue/U4-3451
m.Save();
m.Save(false);
}
return ConvertToMembershipUser(m);
}