From 033cb56bf55989c18b986d47767ebbbd1925c2a6 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Tue, 26 Nov 2013 21:36:18 +0000
Subject: [PATCH] Syntax and whitespace cleanup

---
 opentrafficshaper/plugins/statistics/statistics.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/opentrafficshaper/plugins/statistics/statistics.pm b/opentrafficshaper/plugins/statistics/statistics.pm
index c6e9752..9d357a7 100644
--- a/opentrafficshaper/plugins/statistics/statistics.pm
+++ b/opentrafficshaper/plugins/statistics/statistics.pm
@@ -202,7 +202,6 @@ sub plugin_init
 			$dbh->disconnect();
 			$dbh = undef;
 		}
-
 		# Prepare identifier get statement
 		if ($dbh && (my $res = $dbh->prepare('SELECT ID FROM identifiers WHERE `Identifier` = ?'))) {
 			$statsPreparedStatements->{'identifier_get'} = $res;
@@ -212,7 +211,7 @@ sub plugin_init
 			$dbh = undef;
 		}
 
-		# Prepare stats consolidation statement
+		# Prepare stats consolidation statements
 		if ($dbh && (my $res = $dbh->prepare('
 			SELECT
 				`IdentifierID`, `Timestamp` - (`Timestamp` % ?) AS TimestampM,
@@ -608,6 +607,7 @@ sub do_unsubscribe
 	delete($subscribers->{$item}->{$handler}->{$handlerEvent});
 }
 
+
 # Return user last stats
 sub getLastStats
 {
@@ -824,6 +824,7 @@ sub _getCachedSIDFromIdentifier
 }
 
 
+# Grab or add the identifier to the DB
 sub _getSIDFromIdentifier
 {
 	my $identifier = shift;
-- 
GitLab