summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-11-20 15:05:09 +0100
committerMichael Tänzer <neo@nhng.de>2013-11-20 15:05:09 +0100
commitedfa0f26687ca34b391c96ba94228e6642cbbc2e (patch)
treecd89bfcd72446b321697dab05371a9e52268e896
parent4fdc024a9215ab3008b281ffabbd7924f19778b3 (diff)
parentafa6d7b55b3fbe30d5ff7928ddf619f54ff554cd (diff)
downloadcacert-devel-edfa0f26687ca34b391c96ba94228e6642cbbc2e.tar.gz
cacert-devel-edfa0f26687ca34b391c96ba94228e6642cbbc2e.tar.xz
cacert-devel-edfa0f26687ca34b391c96ba94228e6642cbbc2e.zip
Merge remote-tracking branch 'origin/bug-1045' into release
-rwxr-xr-xscripts/cron/removedead.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/cron/removedead.php b/scripts/cron/removedead.php
index 2257dc8..f473788 100755
--- a/scripts/cron/removedead.php
+++ b/scripts/cron/removedead.php
@@ -20,7 +20,7 @@
require_once(dirname(__FILE__).'/../../includes/mysql.php');
require_once(dirname(__FILE__).'/../../includes/lib/l10n.php');
require_once(dirname(__FILE__).'/../../includes/notary.inc.php');
-
+
$query = "select * from `users` where `users`.`verified`=0 and
(UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`users`.`created`)) >= 172800";
$res = mysql_query($query);
@@ -47,6 +47,9 @@
(UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`created`)) >= 21600";
mysql_query($query);
+// the folloing part is presently not used as there is no running programme that uses temporary increase
+// in case that there is a new one the procedure needs a rework regarding the point claculation
+/*
$query = "select * from `notary` where `expire`!=0 and `expire`<NOW()";
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
@@ -84,4 +87,5 @@
mysql_query($query);
fix_assurer_flag($row[to]);
}
+*/
?>