X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=www%2Fplugins-dist%2Fstatistiques%2Fgenie%2Fpopularites.php;h=7f1f1e075eb2341b6ae89f4f268cc3c3d74425d5;hb=cc641eb476987612f6d6df1a5417c1c5582a8ab8;hp=ae497983f29a8779d4849bbc4cf8250952db0604;hpb=a33c2ba9d919664b3bb0f565f8e9a8b9d8530cdb;p=lhc%2Fweb%2Fclavette_www.git diff --git a/www/plugins-dist/statistiques/genie/popularites.php b/www/plugins-dist/statistiques/genie/popularites.php index ae49798..7f1f1e0 100644 --- a/www/plugins-dist/statistiques/genie/popularites.php +++ b/www/plugins-dist/statistiques/genie/popularites.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2016 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -32,7 +32,7 @@ function genie_popularite_constantes($duree){ return array($a,$b); } -// http://doc.spip.org/@genie_popularites_dist +// http://code.spip.net/@genie_popularites_dist function genie_popularites_dist($t) { // Si c'est le premier appel, ne pas calculer @@ -71,7 +71,7 @@ function genie_popularites_dist($t) { #spip_query("ALTER TABLE spip_referers CHANGE visites_jour visites_veille INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',CHANGE visites_veille visites_jour INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'"); #spip_query("UPDATE spip_referers SET visites_jour=0"); // version 4 fois plus rapide que la premiere, en une seule requete - // ATTENTION : peut poser probleme cf http://core.spip.org/issues/2505 + // ATTENTION : peut poser probleme cf https://core.spip.net/issues/2505 sql_alter("TABLE spip_referers DROP visites_veille, CHANGE visites_jour visites_veille INT(10) UNSIGNED NOT NULL DEFAULT '0', ADD visites_jour INT(10) UNSIGNED NOT NULL DEFAULT '0'");