]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Event.php
Removed temporary code
[friendica.git] / src / Model / Event.php
index 145632fdfcefb8d34e0c3fbc22bb27b4aa2f2939..6f8ed123c17396bc4fd6e45f8405e13e33018967 100644 (file)
@@ -617,10 +617,8 @@ class Event
                        }
 
                        $author_link = $event['author-link'];
-                       $plink       = $event['plink'];
 
                        $event['author-link'] = Contact::magicLink($author_link);
-                       $event['plink']       = Contact::magicLink($author_link, $plink);
 
                        $html = self::getHTML($event);
                        $event['summary']  = BBCode::convert(Strings::escapeHtml($event['summary']));
@@ -640,7 +638,7 @@ class Event
                                'is_first' => $is_first,
                                'item'     => $event,
                                'html'     => $html,
-                               'plink'    => [$event['plink'], DI::l10n()->t('link to source'), '', ''],
+                               'plink'    => Item::getPlink($event),
                        ];
                }