[RSS Feed/News] XF\Repository\UsernameChange::clearPendingUsernameChanges doesn't appear to work

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
The call sites for clearPendingUsernameChanges have comments suggesting the cleanup is triggered/done by the function.
PHP:

Code:
class User {
...
// if user has a pending username change then handle them
$usernameChangeRepo->clearPendingUsernameChanges($this);
PHP:

Code:
class UsernameChange {
...
// remove/reject any other pending changes
$this->getUsernameChangeRepo()->clearPendingUsernameChanges($this->User, $this);

But in...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom