backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Sat, 28 May 2005 22:28:12 +0000 (22:28 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:29:03 +0000 (23:29 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-19
   obsolete

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-661

ChangeLog
bin/cron/stats/evolution-inscrits-mails [deleted file]

index 3a7b939..341b0c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,7 +9,7 @@ New :
 Bug/Wish :
 
        * Core :
-               - #302: accept spaces in login.                                                                         -Car
+               - #78,302: accept spaces in login.                                                                      -Car
                
        * Fiche :
                - #308: organizing layout.                                                                                      -Car
diff --git a/bin/cron/stats/evolution-inscrits-mails b/bin/cron/stats/evolution-inscrits-mails
deleted file mode 100755 (executable)
index f845847..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/ash
-
-SCRIPTSDIR=`dirname $0`
-STATSDIR=/home/web/stats
-
-MAILLOG=/var/log/mail.log.1
-#MAILLOG=/var/log/maillog.1.gz
-STATINSCRITS=$STATSDIR/nbinscrits
-STATMAILS=$STATSDIR/nbmails
-DATE=`date "+%D"`
-
-COUNT=`mysql x4dat -B --skip-column-names -e "select count(*) from auth_user_md5 where perms in ('user','admin') and deces=0"`
-if [ $? -ne 0 ]; then
-       echo "statistiques nombre inscrits: erreur dans l'exĂ©cution de mysql" 2>&1
-else
-       echo $DATE $COUNT >> $STATINSCRITS
-fi
-
-DATE=$(date "+%D" -d "1 day ago")
-cat $MAILLOG | $SCRIPTSDIR/pflogsumm-1.1.0-x.org.pl | head -12 | grep ed | cut -c-9 | xargs echo $DATE >> $STATMAILS