]> git.mxchange.org Git - friendica.git/blobdiff - mod/notice.php
Merge develop into 0308-Notifications-restructure
[friendica.git] / mod / notice.php
index a42d60dd401f344e4d564229711366c6452ce0e3..19cf53189a1476dfb9795026ab9b23139ad0160f 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-/* identi.ca -> friendica items permanent-url compatibility */
-
-if(! function_exists('notice_init')) {
-       function notice_init(&$a) {
+       /* identi.ca -> friendica items permanent-url compatibility */
+       
+       function notice_init(&$a){
                $id = $a->argv[1];
                $r = q("SELECT user.nickname FROM user LEFT JOIN item ON item.uid=user.uid WHERE item.id=%d",
                                intval($id)
@@ -17,5 +16,5 @@ if(! function_exists('notice_init')) {
 
                }
                return;
+
        }
-}