X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flike.php;h=1f6a233f3dc26599f8a37152ea71f0fef276952b;hb=b6a4a2ec7fcf7d9f28b0b0fdd9bc2ad2cdba2b3c;hp=8d383b9abe4ffad8726a3596eec1f2119dcda0d4;hpb=b41ab85feb5a36c93feeafa41b667f4aaca5f5d8;p=friendica.git diff --git a/mod/like.php b/mod/like.php index 8d383b9abe..1f6a233f3d 100755 --- a/mod/like.php +++ b/mod/like.php @@ -5,7 +5,7 @@ require_once('include/bbcode.php'); require_once('include/items.php'); require_once('include/like.php'); -function like_content(&$a) { +function like_content(App $a) { if(! local_user() && ! remote_user()) { return false; } @@ -24,7 +24,7 @@ function like_content(&$a) { // See if we've been passed a return path to redirect to $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : ''); - like_content_return($a->get_baseurl(), $return_path); + like_content_return(App::get_baseurl(), $return_path); killme(); // NOTREACHED // return; // NOTREACHED }