--
-- user_profile__delete/1
--
create or replace function user_profile__delete(
  integer
) returns int4 as $$

declare
    profile_id      alias for $1;
begin

    PERFORM membership_rel__delete(profile_id);

    return 0;
end;$$ language plpgsql;