This commit was manufactured by cvs2svn to create tag 'freeside_2_1_0'.
[freeside.git] / httemplate / edit / process / elements / process.html
index ebbc2f7..87cadb7 100644 (file)
@@ -65,9 +65,6 @@ Example:
    #return an error string or empty for no error
    'precheck_callback' => sub { my( $cgi ) = @_; },
 
-   #after everything's inserted
-   'noerror_callback' => sub { my( $cgi, $object ) = @_; },
-
    #supplies arguments to insert() and replace()
    # for use with tables that are FS::option_Common (among other things)
    'args_callback' => sub { my( $cgi, $object ) = @_; },
@@ -301,20 +298,12 @@ if ( !$error && $opt{'process_o2m'} ) {
 
 
 if ( $error ) {
-
   $cgi->param('error', $error);
   if ( $opt{'clear_on_error'} && scalar(@{$opt{'clear_on_error'}}) ) {
     foreach my $field (@{$opt{'clear_on_error'}}) {
       $cgi->param($field, '')
     }
   }
-
-} else {
-
-  if ( $opt{'noerror_callback'} ) {
-    &{ $opt{'noerror_callback'} }( $cgi, $new );
-  }
-
 }
 
 </%init>