X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fecrire%2Finc%2Fmail.php;h=bc8d97397a8579011925d3f06be843e3b84b476a;hb=4f443dce95ff6f8221c189880a70c74ce1c1f238;hp=c2f717c6c31f3bf76545c8c866d1fe0a12ccfee7;hpb=4a628e9b277d3617535f99d663ca79fa2e891177;p=lhc%2Fweb%2Fwww.git diff --git a/www/ecrire/inc/mail.php b/www/ecrire/inc/mail.php index c2f717c6..bc8d9739 100644 --- a/www/ecrire/inc/mail.php +++ b/www/ecrire/inc/mail.php @@ -3,28 +3,36 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2016 * + * Copyright (c) 2001-2017 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * \***************************************************************************/ -## -## Module de compatibilite ascendante : desormais inc/envoyer_mail -## +/** + * Module de compatibilite ascendante : desormais inc/envoyer_mail + * + * @deprecated Utiliser inc/envoyer_mail + * @package SPIP\Core\Mail + */ -if (!defined('_ECRIRE_INC_VERSION')) return; +if (!defined('_ECRIRE_INC_VERSION')) { + return; +} if (!function_exists('envoyer_mail')) { define('_FUNCTION_ENVOYER_MAIL', charger_fonction('envoyer_mail', 'inc')); -// http://doc.spip.org/@envoyer_mail + /** + * Envoie un mail. + * + * @uses inc_envoyer_mail_dist() + * @deprecated Utiliser inc_envoyer_mail_dist() via charger_fonction() + **/ function envoyer_mail() { $args = func_get_args(); - if (_FUNCTION_ENVOYER_MAIL) + if (_FUNCTION_ENVOYER_MAIL) { return call_user_func_array(_FUNCTION_ENVOYER_MAIL, $args); + } } } - - -?>