Show
Ignore:
Timestamp:
06/11/07 23:26:47 (18 months ago)
Author:
dom
Message:

Undo incomplete change from previous commit; sorry for the noise

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Utils.pm

    r1068 r1069  
    356356} 
    357357 
    358 =item B<validate_edit> 
    359  
    360     eval { OpenGuides::Utils->validate_edit( 
    361         id       => $node, 
    362         content  => $content 
    363         metadata => \%new_metadata 
    364     ) }; 
    365  
    366 Checks supplied content for general validity. If anything is invalid, 
    367 dies with an error string suitable for reporting to the user. 
    368  
    369 =cut 
    370  
    371 sub validate_edit { 
    372     my ( $self, %args ) = @_; 
    373     die "Content missing\n" unless $args{content}; 
    374     die "Metadata missing\n" unless $args{metadata}; 
    375  
    376 }; 
    377  
    378358=back 
    379359