summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-05-30 12:00:28 +0200
committerINOPIAE <inopiae@cacert.org>2013-05-30 12:00:28 +0200
commitafa6d7b55b3fbe30d5ff7928ddf619f54ff554cd (patch)
treea2678eded411e1252642b3a187485493bb0bab0d /scripts
parentd26f9abb0a6e119250c42811e4b2f60aedf010a6 (diff)
downloadcacert-devel-afa6d7b55b3fbe30d5ff7928ddf619f54ff554cd.tar.gz
cacert-devel-afa6d7b55b3fbe30d5ff7928ddf619f54ff554cd.tar.xz
cacert-devel-afa6d7b55b3fbe30d5ff7928ddf619f54ff554cd.zip
bug 1045: deactivated the part with the temporary increasebug-1045
Diffstat (limited to 'scripts')
-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]);
}
+*/
?>