head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2000.08.28.02.28.23;	author chuck;	state dead;
branches;
next	1.1;

1.1
date	99.07.20.07.36.29;	author jon;	state Exp;
branches;
next	;


desc
@@


1.2
log
@starting to modernize babel - nothing autogenerated, standard
directory/library names, etc.
@
text
@function run_erase (&$request_ref) {
  if (!(restore_state($request_ref)))
    return error("could not restore state");
  
  if (!(can_erase($request_ref)))
    return error("can not erase post id '$request_ref->id'");
  
  $id = $request_ref->id;
  
  if (!(erase_post($request_ref)))
    return error("could not erase post");
  
  $request_ref->id = $request_ref->post['parent'];
  
  if (!(run_show($request_ref)))
    return error("could not run show");
  
  return success();
}
@


1.1
log
@
jon: alrighty, babel.php3.in is now broken down into seperate
     function files.  they're jusy dying to be combined into
     objects and seperate source files.
@
text
@@

