about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiSavedSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-16 16:10:34 -0700
committerEric Wong <e@80x24.org>2021-04-17 10:00:45 +0000
commit1e51bc86dcdc25363575f6e9b35d954c65dec795 (patch)
tree49bf9ad83e89d97f78f5ea4a0bdf709472a13a94 /lib/PublicInbox/LeiSavedSearch.pm
parent02f7fa8f89d63f11e8abc5989ad7a23e31b6f58f (diff)
downloadpublic-inbox-1e51bc86dcdc25363575f6e9b35d954c65dec795.tar.gz
It is redundant since we stuff everything into the lei.q.output
config key.
Diffstat (limited to 'lib/PublicInbox/LeiSavedSearch.pm')
-rw-r--r--lib/PublicInbox/LeiSavedSearch.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiSavedSearch.pm b/lib/PublicInbox/LeiSavedSearch.pm
index 93b1b23a..a8bf470b 100644
--- a/lib/PublicInbox/LeiSavedSearch.pm
+++ b/lib/PublicInbox/LeiSavedSearch.pm
@@ -51,8 +51,6 @@ sub new {
                 } else {
                         cfg_set($self, 'lei.q', $q);
                 }
-                my $fmt = $lei->{opt}->{'format'};
-                cfg_set($self, 'lei.q.format', $fmt) if defined $fmt;
                 $dst = "$lei->{ovv}->{fmt}:$dst" if $dst !~ m!\Aimaps?://!i;
                 cfg_set($self, 'lei.q.output', $dst);
                 for my $k (qw(only include exclude)) {