mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix user profile actions append
This commit is contained in:
@@ -74,8 +74,10 @@ class UserProfile extends Page
|
||||
$actions[] = $this->buildResetPasswordAction();
|
||||
$actions[] = $this->buildEnableDisableAction();
|
||||
$actions[] = $this->buildEnableDisableDownloadPrivilegesAction();
|
||||
|
||||
$actions = apply_filter('user_profile_actions', $actions);
|
||||
}
|
||||
return apply_filter('user_profile_actions', $actions);
|
||||
return $actions;
|
||||
}
|
||||
|
||||
private function buildEnableDisableAction(): Actions\Action
|
||||
|
||||
Reference in New Issue
Block a user