about summary refs log tree commit homepage
path: root/lib/PublicInbox/Inbox.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-22 00:12:25 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-22 00:18:22 +0000
commitb41c5982647a8ecccbadf159381840d74d36248a (patch)
tree882128cc3cb94e0218f50ab511d214242e349949 /lib/PublicInbox/Inbox.pm
parent2e5d47e4c02757c027461149b3e1568d713252b1 (diff)
downloadpublic-inbox-b41c5982647a8ecccbadf159381840d74d36248a.tar.gz
I keep forgetting to run "make syntax"
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r--lib/PublicInbox/Inbox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index f3070383..666c81d7 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -29,7 +29,7 @@ sub cleanup_task () {
 
 sub _cleanup_later ($) {
         my ($self) = @_;
-        return unless $PublicInbox::EvCleanup::ENABLED;
+        return unless PublicInbox::EvCleanup::enabled();
         $cleanup_timer ||= PublicInbox::EvCleanup::later(*cleanup_task);
         $CLEANUP->{"$self"} = $self;
 }