]> git.mxchange.org Git - friendica.git/blobdiff - include/event.php
Continued with code convention:
[friendica.git] / include / event.php
index 3a41dad4e70dd5b66b3f51cc964f62b8271b3e5e..73e61f25cf3949a20585aafc9dff55a172be6da2 100644 (file)
@@ -206,7 +206,7 @@ function bbtoevent($s) {
 }
 
 
-function sort_by_date($a) {
+function sort_by_date(App &$a) {
 
        usort($a,'ev_compare');
        return $a;
@@ -408,7 +408,7 @@ function event_store($arr) {
                        intval($arr['uid'])
                );
                //if (dbm::is_result($r))
-               //      $plink = $a->get_baseurl() . '/display/' . $r[0]['nickname'] . '/' . $item_id;
+               //      $plink = App::get_baseurl() . '/display/' . $r[0]['nickname'] . '/' . $item_id;
 
 
                if($item_id) {