about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-05 02:05:42 +0000
committerEric Wong <e@80x24.org>2019-01-05 08:32:59 +0000
commitbf1943106eef4fe708dddf9245d9be9b85b25f24 (patch)
treeb4c159ca0428fd9c71ecae788e640397862c005a
parented3b90b7a203fe5513894d01d478f6104cdff897 (diff)
downloadpublic-inbox-bf1943106eef4fe708dddf9245d9be9b85b25f24.tar.gz
Unused since commit 6c2caa791bd5fbf5c4edb1a4a2c1807e527348a7
("watchmaildir: support v2 repositories")
-rw-r--r--lib/PublicInbox/WatchMaildir.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/PublicInbox/WatchMaildir.pm b/lib/PublicInbox/WatchMaildir.pm
index 064cedf0..8d8e817a 100644
--- a/lib/PublicInbox/WatchMaildir.pm
+++ b/lib/PublicInbox/WatchMaildir.pm
@@ -19,7 +19,7 @@ use PublicInbox::Spamcheck;
 
 sub new {
         my ($class, $config) = @_;
-        my (%mdmap, @mdir, $spamc, $spamdir);
+        my (%mdmap, @mdir, $spamc);
         my %uniq;
 
         # "publicinboxwatch" is the documented namespace
@@ -32,7 +32,6 @@ sub new {
                                 $dir =~ s!/+\z!!;
                                 # skip "new", no MUA has seen it, yet.
                                 my $cur = "$dir/cur";
-                                $spamdir = $cur;
                                 my $old = $mdmap{$cur};
                                 if (ref($old)) {
                                         foreach my $ibx (@$old) {
@@ -84,7 +83,6 @@ sub new {
         $mdre = qr!\A($mdre)/!;
         bless {
                 spamcheck => $spamcheck,
-                spamdir => $spamdir,
                 mdmap => \%mdmap,
                 mdir => \@mdir,
                 mdre => $mdre,