From: Roland Häder Date: Tue, 20 Dec 2016 11:45:16 +0000 (+0100) Subject: Changed $a->get_baseurl() to App::get_baseurl() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ce20f975c7fc1c27d1981234aefc93b0e7b662a;p=friendica.git Changed $a->get_baseurl() to App::get_baseurl() Signed-off-by: Roland Häder --- diff --git a/mod/filerm.php b/mod/filerm.php index 7dbfe29473..7662289ad2 100644 --- a/mod/filerm.php +++ b/mod/filerm.php @@ -22,9 +22,14 @@ function filerm_content(App &$a) { file_tag_unsave_file(local_user(),$item_id,$term, $category); } +<<<<<<< upstream/develop if (x($_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(); } diff --git a/mod/subthread.php b/mod/subthread.php index c689f7f6cb..368619dec4 100644 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -86,7 +86,11 @@ function subthread_content(App &$a) { $uri = item_new_uri($a->get_hostname(),$owner_uid); $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_PHOTO : ACTIVITY_OBJ_NOTE ); +>>>>>>> HEAD~33 $link = xmlify('' . "\n") ; $body = $item['body'];