From 8ce20f975c7fc1c27d1981234aefc93b0e7b662a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Tue, 20 Dec 2016 12:45:16 +0100 Subject: [PATCH] Changed $a->get_baseurl() to App::get_baseurl() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- mod/filerm.php | 5 +++++ mod/subthread.php | 4 ++++ 2 files changed, 9 insertions(+) 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'];