- π©πͺGermany Anybody Porta Westfalica
@adstokoe: Is this still an issue in 8.x-3.x?
Otherwise we may close this outdated. - Status changed to Active
almost 2 years ago 7:49am 11 May 2023 - π©πͺGermany Anybody Porta Westfalica
Well I think the fix still makes sense. I have no better idea to fix this yet.
Could this please be rerolled as MR against 4.x?
- First commit to issue fork.
- π«π·France mably
Current code shouldn't trigger the bug anymore. Closing.
public function processItem($user_id) { $account = $this->entityTypeManager->getStorage('user')->load($user_id); if (!$account) { return; } $config = $this->configFactory->get('purge_users.settings'); $method = $config->get('purge_user_cancel_method') !== 'user_cancel_site_policy' ? $config->get('purge_user_cancel_method') : $this->configFactory->get('user.settings') ->get('cancel_method'); $this->purgeUserManager->purgeUser($account, $method); }