use wcf\data\user\trophy\UserTrophyList;
use wcf\system\SingletonFactory;
use wcf\system\WCF;
-use wcf\util\StringUtil;
/**
* User activity event implementation for receiving a trophy.
$event->setIsAccessible();
$event->setTitle(WCF::getLanguage()->getDynamicVariable('wcf.user.trophy.recentActivity.received', ['userTrophy' => $trophies[$event->objectID]]));
- $event->setDescription(StringUtil::encodeHTML($trophies[$event->objectID]->getDescription()));
+ $event->setDescription($trophies[$event->objectID]->getDescription());
}
else {
$event->setIsOrphaned();