Removes sessionID from mention links
authorMatthias Schmidt <gravatronics@live.com>
Wed, 16 Oct 2013 19:42:07 +0000 (21:42 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 16 Oct 2013 19:42:07 +0000 (21:42 +0200)
wcfsetup/install/files/lib/system/event/listener/PreParserAtUserListener.class.php

index 10555c44151b3d03380a303a2f93d787f24a4908..0b62355e51fa55ba750b390ac50cbbd461f5a78b 100644 (file)
@@ -93,6 +93,7 @@ class PreParserAtUserListener implements IEventListener {
                                        
                                        if (isset($users[$username])) {
                                                $link = LinkHandler::getInstance()->getLink('User', array(
+                                                       'appendSession' => false,
                                                        'object' => $users[$username]
                                                ));
                                                return "[url='".$link."']@".$users[$username]->username.'[/url]';