ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,625
- Points
- 823
Reputation:
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...