X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoke.php;h=ca02b6bee5105880b62a21ceff5216dec289d611;hb=d0dfcc71a82ac423db68a12fd2eaf6d13cb18e1f;hp=2e15ed853ff395be7363279c8d9499871d3348a4;hpb=9ca789b9529dceedc35f637804179e1034b3f1d9;p=friendica.git diff --git a/mod/poke.php b/mod/poke.php index 2e15ed853f..ca02b6bee5 100644 --- a/mod/poke.php +++ b/mod/poke.php @@ -1,25 +1,27 @@ -' . ACTIVITY_OBJ_PERSON . '' . $target['name'] . '' . App::get_baseurl() . '/contact/' . $target['id'] . ''; + $arr['object'] = '' . ACTIVITY_OBJ_PERSON . '' . $target['name'] . '' . System::baseUrl() . '/contact/' . $target['id'] . ''; $arr['object'] .= '' . xmlify('' . "\n"); $arr['object'] .= xmlify('' . "\n"); @@ -131,7 +133,7 @@ function poke_init(App &$a) { $item_id = item_store($arr); if($item_id) { //q("UPDATE `item` SET `plink` = '%s' WHERE `uid` = %d AND `id` = %d", - // dbesc(App::get_baseurl() . '/display/' . $poster['nickname'] . '/' . $item_id), + // dbesc(System::baseUrl() . '/display/' . $poster['nickname'] . '/' . $item_id), // intval($uid), // intval($item_id) //); @@ -148,7 +150,7 @@ function poke_init(App &$a) { -function poke_content(App &$a) { +function poke_content(App $a) { if (! local_user()) { notice( t('Permission denied.') . EOL); @@ -170,11 +172,11 @@ function poke_content(App &$a) { } - $base = App::get_baseurl(); + $base = System::baseUrl(); $head_tpl = get_markup_template('poke_head.tpl'); $a->page['htmlhead'] .= replace_macros($head_tpl,array( - '$baseurl' => App::get_baseurl(true), + '$baseurl' => System::baseUrl(true), '$base' => $base ));