From bbb3b38f8f1a42d0bf68aec105102342ac03f4f9 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 14 Dec 2010 20:11:20 +0000 Subject: [PATCH] changed list auto resets to work on inactive lists git-svn-id: svn://192.168.202.10@1575 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl index 39ec42a1..eedd9ee6 100644 --- a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl +++ b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl @@ -58,6 +58,7 @@ # 100814-2206 - Added clearing and optimization for vicidial_xfer_stats table # 101022-1655 - Added new variables to be cleared from vicidial_cacmpaign_stats table # 101107-2257 - Added cross-server phone dialplan extensions +# 101214-1507 - Changed list auto-reset to work with inactive lists # $DB=0; # Debug flag @@ -2509,7 +2510,7 @@ if ($sthBrows > 0) ################################################################################ ##### BEGIN reset lists ################################################################################ -$stmtA = "SELECT list_id FROM vicidial_lists where active='Y' and reset_time LIKE \"%$reset_test%\";"; +$stmtA = "SELECT list_id FROM vicidial_lists where reset_time LIKE \"%$reset_test%\";"; $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; $sthBrows=$sthA->rows;