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

declare
  delete__folder_id              alias for $1;  
  v_count                        integer;       
  v_parent_id                    integer;  
  v_path                         varchar;     
begin
	return content_folder__del(
		delete__folder_id,
		'f'
		);
end;$$ language plpgsql;


--
-- content_folder__delete/2
--
create or replace function content_folder__delete(
  integer,
  boolean
) returns int4 as $$

declare
  delete__folder_id              alias for $1;  
  p_cascade_p                    alias for $2;  -- default 'f'
begin
        PERFORM content_folder__del(delete__folder_id,p_cascade_p);
  return 0; 
end;$$ language plpgsql;