namespace wcf\system\user\notification\event;
use wcf\data\user\UserProfile;
+use wcf\page\UserPage;
use wcf\system\request\LinkHandler;
use wcf\system\user\notification\object\UserRegistrationUserNotificationObject;
#[\Override]
public function getLink(): string
{
- return LinkHandler::getInstance()->getLink('UserEdit', [
+ return LinkHandler::getInstance()->getControllerLink(UserPage::class, [
'object' => $this->getUserNotificationObject(),
- 'isACP' => true,
]);
}
namespace wcf\system\user\notification\event;
use wcf\data\user\UserProfile;
+use wcf\page\UserPage;
use wcf\system\request\LinkHandler;
use wcf\system\user\notification\object\UserRegistrationUserNotificationObject;
'application' => 'wcf',
'variables' => [
'notification' => $this->notification,
- 'username' => $this->getUserNotificationObject()->username,
+ 'username' => $this->getUserNotificationObject()->username,
'userNotificationObject' => $this->getUserNotificationObject(),
],
];
#[\Override]
public function getLink(): string
{
- return LinkHandler::getInstance()->getLink('UserEdit', [
+ return LinkHandler::getInstance()->getControllerLink(UserPage::class, [
'object' => $this->getUserNotificationObject(),
- 'isACP' => true,
]);
}