X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flike.php;h=c542a540abce6a3ae174d844c8c9f67b4768d082;hb=e5429b2d174a2410a06079f13de24ece013733b9;hp=ef483a1f9eed3ca264086edc3d37d77b3380504d;hpb=0c67c89715df801e0c887be50c9739db3bae7ca3;p=friendica.git diff --git a/mod/like.php b/mod/like.php index ef483a1f9e..c542a540ab 100755 --- a/mod/like.php +++ b/mod/like.php @@ -1,12 +1,13 @@ get_baseurl(), $return_path); + like_content_return(App::get_baseurl(), $return_path); killme(); // NOTREACHED // return; // NOTREACHED } -} + // Decide how to return. If we were called with a 'return' argument, // then redirect back to the calling page. If not, just quietly end -if(! function_exists('like_content_return')) { + function like_content_return($baseurl, $return_path) { if($return_path) { @@ -46,4 +47,4 @@ function like_content_return($baseurl, $return_path) { killme(); } -} +