From 39e5a0ce031516f130aec8b9c2fdde140e816730 Mon Sep 17 00:00:00 2001
From: Robert Anderson <randerson@lbsd.net>
Date: Thu, 13 Oct 2011 11:54:06 +0000
Subject: [PATCH] Fixed comment, now describes the line below better

---
 smradius/modules/system/mod_config_sql_topups.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smradius/modules/system/mod_config_sql_topups.pm b/smradius/modules/system/mod_config_sql_topups.pm
index 281a364d..9469ed91 100644
--- a/smradius/modules/system/mod_config_sql_topups.pm
+++ b/smradius/modules/system/mod_config_sql_topups.pm
@@ -295,7 +295,7 @@ sub cleanup
 	# The datetime now
 	my $now = DateTime->now->set_time_zone($server->{'smradius'}->{'event_timezone'});
 
-	# This month..
+	# Use truncate to set all values after 'month' to their default values
 	my $thisMonth = $now->clone()->truncate( to => "month" );
 
 	# Last month..
-- 
GitLab