about summary refs log tree commit homepage
path: root/Documentation/mknews.perl
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-03-20 08:18:15 +0000
committerEric Wong <e@yhbt.net>2020-03-22 09:00:23 +0000
commit87678710135973f72722258e171fc00f85c86ec8 (patch)
tree15145a7f37c579b8fa9f5215e0e61b78385dace8 /Documentation/mknews.perl
parente5dbf0680cfbfa81bad38457c0430fd260dda682 (diff)
downloadpublic-inbox-87678710135973f72722258e171fc00f85c86ec8.tar.gz
rename PublicInbox::SearchMsg => PublicInbox::Smsg
Since the introduction of over.sqlite3, SearchMsg is not tied to
our search functionality in any way, so stop confusing ourselves
and future hackers by just calling it "PublicInbox::Smsg".

Add a missing "use" in ExtMsg while we're at it.
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-xDocumentation/mknews.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl
index d803ca77..adb83832 100755
--- a/Documentation/mknews.perl
+++ b/Documentation/mknews.perl
@@ -103,7 +103,7 @@ sub mime2txt {
 
 sub mime2html {
         my ($out, $mime, $ctx) = @_;
-        my $smsg = bless { mime => $mime }, 'PublicInbox::SearchMsg';
+        my $smsg = bless { mime => $mime }, 'PublicInbox::Smsg';
         print $out PublicInbox::View::index_entry($smsg, $ctx, 1) or die;
 }
 
@@ -147,7 +147,7 @@ EOF
 
 sub mime2atom  {
         my ($out, $astream, $mime, $ctx) = @_;
-        my $smsg = bless { mime => $mime }, 'PublicInbox::SearchMsg';
+        my $smsg = bless { mime => $mime }, 'PublicInbox::Smsg';
         if (defined(my $str = $astream->feed_entry($smsg))) {
                 print $out $str or die;
         }