]> git.mxchange.org Git - friendica.git/commitdiff
delete $md (event-links) because event ID is used
authorrabuzarus <>
Thu, 25 Jun 2015 12:21:12 +0000 (14:21 +0200)
committerrabuzarus <>
Thu, 25 Jun 2015 12:21:12 +0000 (14:21 +0200)
boot.php

index e6a2a3a204e21fb7be4fcbd5f6aa8f2cf44209f2..feb7533010ce8a64341d8174c6ad7dfc7d814b89 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1852,12 +1852,6 @@ if(! function_exists('get_events')) {
                        $skip = 0;
 
                        foreach($r as &$rr) {
-                               if($rr['adjust'])
-                                       $md = datetime_convert('UTC',$a->timezone,$rr['start'],'Y/m');
-                               else
-                                       $md = datetime_convert('UTC','UTC',$rr['start'],'Y/m');
-                               $md .= "/#link-".$rr['id'];
-
                                $title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8'));
 
                                if(strlen($title) > 35)
@@ -1875,8 +1869,7 @@ if(! function_exists('get_events')) {
                                }
 
                                $today = ((substr($strt,0,10) === datetime_convert('UTC',$a->timezone,'now','Y-m-d')) ? true : false);
-
-                               $rr['link'] = $md;
+                               
                                $rr['title'] = $title;
                                $rr['description'] = $desciption;
                                $rr['date'] = day_translate(datetime_convert('UTC', $rr['adjust'] ? $a->timezone : 'UTC', $rr['start'], $bd_format)) . (($today) ?  ' ' . t('[today]') : '');