Added link to new callbacks bulk move admin utility, also now we will archive deleted callbacks

git-svn-id: svn://192.168.202.10@2279 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2015-02-18 14:30:46 +00:00
parent ca751698ee
commit 0e90ece1a5
10 changed files with 975 additions and 17 deletions
+12
View File
@@ -257,6 +257,18 @@ if (!$T)
$sthA->finish();
}
$stmtA = "optimize table vicidial_callbacks_archive;";
if($DB){print STDERR "\n|$stmtA|\n";}
if (!$T)
{
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
$sthArows=$sthA->rows;
@aryA = $sthA->fetchrow_array;
if (!$q) {print "|",$aryA[0],"|",$aryA[1],"|",$aryA[2],"|",$aryA[3],"|","\n";}
$sthA->finish();
}
$stmtA = "optimize table vicidial_agent_log;";
if($DB){print STDERR "\n|$stmtA|\n";}
if (!$T)