Ignore:
Timestamp:
Sep 18, 2004, 4:10:56 PM (17 years ago)
Author:
kake
Message:

Recent Changes RSS fixed so "wiki:importance?" is set correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r482 r483  
    591591    $metadata{host} = $ENV{REMOTE_ADDR};
    592592
     593    # CGI::Wiki::Plugin::RSS::ModWiki wants "major_change" to be set.
     594    $metadata{major_change} = ( $metadata{edit_type} eq "Normal edit" )
     595                            ? 1
     596                            : 0;
     597
    593598    my $written = $wiki->write_node($node, $content, $checksum, \%metadata );
    594599
Note: See TracChangeset for help on using the changeset viewer.