Skip to content
Browse files

Removing now () call in sqlConnect().

  • Loading branch information...
1 parent e7204f7 commit 7385d4f9d5fc8734e732b58458094852af0a502b @BrianAker BrianAker committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Slash/DB/Utility/Utility.pm
View
4 Slash/DB/Utility/Utility.pm
@@ -51,8 +51,8 @@ sub sqlConnect {
print STDERR "unable to connect to MySQL: $@ : $DBI::errstr\n";
die "Database would not let us connect $DBI::errstr"; # The Suicide Die
} else {
- my $time = $self->{_dbh}->selectrow_array('SELECT now()');
- #print STDERR "Rebuilt at $time\n";
+ my $time = localtime();
+ print STDERR "Rebuilt at $time\n";
}
}
}

0 comments on commit 7385d4f

Please sign in to comment.
Something went wrong with that request. Please try again.