diff options
author | Eric Wong <e@yhbt.net> | 2020-04-18 03:38:51 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-04-19 08:51:26 +0000 |
commit | c91490ccae1a1775da1e816866ef0b08b234ff54 (patch) | |
tree | b5ea5cbccce40c90ac3bd2a5656061ad31bd65cf /Documentation/mknews.perl | |
parent | a479b45117ed69d9311770fa39e6676d38f9cab2 (diff) | |
download | public-inbox-c91490ccae1a1775da1e816866ef0b08b234ff54.tar.gz |
There's no need to pollute the cross-package $ctx with it.
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-x | Documentation/mknews.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index adb83832..a9dede00 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -127,7 +127,7 @@ sub atom_start { require PublicInbox::WwwAtomStream; # WwwAtomStream stats this dir for mtime my $astream = PublicInbox::WwwAtomStream->new($ctx); - delete $ctx->{emit_header}; + delete $astream->{emit_header}; my $ibx = $ctx->{-inbox}; my $title = PublicInbox::WwwAtomStream::title_tag($ibx->description); my $updated = PublicInbox::WwwAtomStream::feed_updated(gmtime($mtime)); |