From 6e6f7999361925e4c944f308df4bc32a1842cd69 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 16 Apr 2019 01:10:09 +0000 Subject: cleanup: use '$ibx' consistently when referring to Inbox refs '$inbox' is more human-readable, so that is for the more human-readable name in most cases. Making our variable naming more consistent should make the code easier-to-review and harder to screw up. --- lib/PublicInbox/Unsubscribe.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/Unsubscribe.pm') diff --git a/lib/PublicInbox/Unsubscribe.pm b/lib/PublicInbox/Unsubscribe.pm index 2644f7a9..11a347ee 100644 --- a/lib/PublicInbox/Unsubscribe.pm +++ b/lib/PublicInbox/Unsubscribe.pm @@ -151,9 +151,9 @@ sub archive_info { unless ($archive_url) { if (my $config = $self->{pi_config}) { # PublicInbox::Config::lookup - my $inbox = $config->lookup($list_addr); + my $ibx = $config->lookup($list_addr); # PublicInbox::Inbox::base_url - $archive_url = $inbox->base_url if $inbox; + $archive_url = $ibx->base_url if $ibx; } } -- cgit v1.2.3-24-ge0c7