X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flike.php;h=6918bd552111fbb190c25a61a3c4179f71530afa;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=ef483a1f9eed3ca264086edc3d37d77b3380504d;hpb=0c764684bb32a9432fd161e62db907efb78af1a5;p=friendica.git diff --git a/mod/like.php b/mod/like.php index ef483a1f9e..6918bd5521 100755 --- a/mod/like.php +++ b/mod/like.php @@ -1,12 +1,14 @@ get_baseurl(), $return_path); + like_content_return(System::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 +48,4 @@ function like_content_return($baseurl, $return_path) { killme(); } -} +