Similar to a previous issue reported, the static caching used in user_relationships_load_all_for_user makes it so that once a user's relationships have been loaded, they can't change in the course of a request. This prevents me from using SimpleTest to create relationships and confirm them because it must all happen within one request. There at least needs to be a way to clear the static cache.
function user_relationships_load_all_for_user($uid) {
static $relationships = array();
if (!key_exists($uid, $relationships)) {
Comments
Comment #1
sprsquish commentedfixed on 5x-1.1 and 5x-2.x-dev
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.