X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Flike.php;h=1f6a233f3dc26599f8a37152ea71f0fef276952b;hb=8bdc906013461464b475c4f10918adff8730dea6;hp=8d383b9abe4ffad8726a3596eec1f2119dcda0d4;hpb=f27fad7b477582cd069d983423103c4208dae7c5;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 }