summaryrefslogtreecommitdiff
path: root/scripts/cron
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-08-15 00:14:31 +0200
committerMichael Tänzer <neo@nhng.de>2012-08-15 00:14:31 +0200
commitb316652307b171588e813b7586efa028f38b6e92 (patch)
tree4cffdfc5fa3b4a2ba71d512aa5eb89be668c5917 /scripts/cron
parentded64e3bc978fa332777cf4fffa84c756dd65cb3 (diff)
downloadcacert-devel-b316652307b171588e813b7586efa028f38b6e92.tar.gz
cacert-devel-b316652307b171588e813b7586efa028f38b6e92.tar.xz
cacert-devel-b316652307b171588e813b7586efa028f38b6e92.zip
bug 922: only select distinct server serts to avoid processing the same cert
multiple times Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'scripts/cron')
-rwxr-xr-xscripts/cron/warning.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cron/warning.php b/scripts/cron/warning.php
index afa9996..ef570fd 100755
--- a/scripts/cron/warning.php
+++ b/scripts/cron/warning.php
@@ -69,7 +69,7 @@ echo $row['fname']." ".$row['lname']." <".$row['email']."> (memid: ".$row['memid
foreach($days as $day => $warning)
{
$query =
- "SELECT `domaincerts`.`id`,
+ "SELECT DISTINCT `domaincerts`.`id`,
`users`.`fname`, `users`.`lname`, `users`.`email`,
`domains`.`memid`,
`domaincerts`.`subject`, `domaincerts`.`crt_name`,