xf_user_connected_account
, it will still show up, because the entry is still in xf_user_profile.connected_accounts
.xf_user_connected_account
.Well yes. It’s expected if you manually delete it. I assumed it had been deleted properly and something had stopped the cache from updating because usually manually deleting anything isn’t wise.
Associating or disassociating some other connected account on the account would rebuild it.
It should do.I would think the rebuild user caches function in the admin CP would do it... but it doesn't.
$user->Profile->rebuildUserFieldValuesCache();
It should do.
That's one of the actions called in the user rebuild job:
PHP:$user->Profile->rebuildUserFieldValuesCache();
$this->repository('XF:UserField')->rebuildUserFieldValuesCache($this->user_id);
$this->repository('XF:ConnectedAccount')->rebuildUserConnectedAccountCache($user);
xf_user_connected_account
table. Are you not removing the connected account provider too from xf_connected_account_provider
? If you do that, then the connected account won't display as associated anymore.We use essential cookies to make this site work, and optional cookies to enhance your experience.