New function for generating item URI
This commit is contained in:
parent
8592fc435c
commit
14cb128264
10 changed files with 51 additions and 45 deletions
|
|
@ -92,7 +92,7 @@ function subthread_content(App $a) {
|
|||
return;
|
||||
}
|
||||
|
||||
$uri = item_new_uri($a->get_hostname(),$owner_uid);
|
||||
$uri = Item::newURI($owner_uid);
|
||||
|
||||
$post_type = (($item['resource-id']) ? L10n::t('photo') : L10n::t('status'));
|
||||
$objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue