use Friendica\Model\Item;
use Friendica\Util\Strings;
-require_once 'include/items.php';
-
function like_content(App $a) {
if (!local_user() && !remote_user()) {
return false;
}
// See if we've been passed a return path to redirect to
- $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
+ $return_path = defaults($_REQUEST, 'return', '');
like_content_return($a, $return_path);
killme(); // NOTREACHED