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.pm

    r1068 r1069  
    13361336    $new_metadata{host} = $ENV{REMOTE_ADDR}; 
    13371337 
    1338     # General validation 
    1339     eval { OpenGuides::Utils->validate_edit( 
    1340         content  => $content, 
    1341         metadata => \%new_metadata 
    1342     ) }; 
    1343  
    1344     if ( $@ ) { 
    1345         my $output = OpenGuides::Template->output( 
    1346             wiki     => $self->wiki, 
    1347             config   => $config, 
    1348             template => "validate_edit_failed.tt", 
    1349             vars => { 
    1350                 message => $@ 
    1351             } 
    1352         ); 
    1353         return $output if $return_output; 
    1354         print $output; 
    1355         return; 
    1356     } 
    1357  
    13581338    # Wiki::Toolkit::Plugin::RSS::ModWiki wants "major_change" to be set. 
    13591339    $new_metadata{major_change} = ( $new_metadata{edit_type} eq "Normal edit" )