New function for generating item URI

This commit is contained in:
Michael
2018-06-16 06:44:19 +00:00
parent 8592fc435c
commit 14cb128264
10 changed files with 51 additions and 45 deletions

View File

@@ -65,7 +65,7 @@ function tagger_content(App $a) {
return;
}
$uri = item_new_uri($a->get_hostname(),$owner_uid);
$uri = Item::newURI($owner_uid);
$xterm = xmlify($term);
$post_type = (($item['resource-id']) ? L10n::t('photo') : L10n::t('status'));
$targettype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );