[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / abomailmans / abomailmans_pipelines.php
1 <?php
2 /*
3 * Abomailmans
4 * MaZiaR - NetAktiv
5 * tech@netaktiv.com
6 * Printemps 2007 - 2012
7 * $Id: abomailmans_interface.php 31752 2009-09-23 00:09:48Z kent1@arscenic.info $
8 */
9
10 if (!defined("_ECRIRE_INC_VERSION")) return;
11
12 /**
13 *
14 * Declarer la tache cron de abomailman lente (messagerie de l'espace prive)
15 * @param array $taches_generales
16 * @return array
17 */
18 function abomailmans_taches_generales_cron($taches_generales){
19 $taches_generales['abomailmans_envois'] = 60 * 10; // toutes les 10 minutes
20 return $taches_generales;
21 }
22
23
24 // Initialise les reglages sous forme de tableau
25 function abomailmans_go($x) {
26 if (!is_array($GLOBALS['abomailmans'] = @unserialize($GLOBALS['meta']['abomailmans'])))
27 $GLOBALS['abomailmans'] = array();
28 return $x;
29 }
30
31 ?>