K
Kirby
Guest
This is a rather complicated bug, but I hope it's understandable.
Method
PHP:
Read more
Continue reading...
Method
XF\Service\User\Delete::delete
sets entity options to avoid running jobs XF:UserRenameCleanup
and XF:UserDeleteCleanup
when renaming a user before deletion:PHP:
Code:
if ($this->renameTo)
{
$user->reset();
$user->setOption('admin_edit', true);
$user->setOption('enqueue_rename_cleanup', false);
$user->setOption('enqueue_delete_cleanup', false);
$user->set('username', $this->renameTo)...
Read more
Continue reading...