2 /* identi.ca -> friendica items permanent-url compatibility */
4 function notice_init(&$a){
6 $r = q("SELECT user.nickname FROM user LEFT JOIN item ON item.uid=user.uid WHERE item.id=%d",
10 $nick = $r[0]['nickname'];
11 $url = $a->get_baseurl()."/display/$nick/$id";
15 notice( t('Item not found.') . EOL);