Changed $a->get_baseurl() to App::get_baseurl()
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
8b8a45b703
commit
8ce20f975c
|
@ -22,9 +22,14 @@ function filerm_content(App &$a) {
|
||||||
file_tag_unsave_file(local_user(),$item_id,$term, $category);
|
file_tag_unsave_file(local_user(),$item_id,$term, $category);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<<<<<<< upstream/develop
|
||||||
if (x($_SESSION,'return_url')) {
|
if (x($_SESSION,'return_url')) {
|
||||||
goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
|
goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
|
||||||
}
|
}
|
||||||
|
=======
|
||||||
|
if(x($_SESSION,'return_url'))
|
||||||
|
goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
|
||||||
|
>>>>>>> HEAD~33
|
||||||
|
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,11 @@ function subthread_content(App &$a) {
|
||||||
$uri = item_new_uri($a->get_hostname(),$owner_uid);
|
$uri = item_new_uri($a->get_hostname(),$owner_uid);
|
||||||
|
|
||||||
$post_type = (($item['resource-id']) ? t('photo') : t('status'));
|
$post_type = (($item['resource-id']) ? t('photo') : t('status'));
|
||||||
|
<<<<<<< upstream/develop
|
||||||
$objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
|
$objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
|
||||||
|
=======
|
||||||
|
$objtype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
|
||||||
|
>>>>>>> HEAD~33
|
||||||
$link = xmlify('<link rel="alternate" type="text/html" href="' . App::get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
|
$link = xmlify('<link rel="alternate" type="text/html" href="' . App::get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
|
||||||
$body = $item['body'];
|
$body = $item['body'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue