Dotclear

source: plugins/antispam/_public.php @ 3731:3770620079d4

Revision 3731:3770620079d4, 471 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

Line 
1<?php
2/**
3 * @brief antispam, a plugin for Dotclear 2
4 *
5 * @package Dotclear
6 * @subpackage Plugins
7 *
8 * @copyright Olivier Meunier & Association Dotclear
9 * @copyright GPL-2.0-only
10 */
11
12if (!defined('DC_RC_PATH')) {return;}
13
14$core->addBehavior('publicBeforeCommentCreate', array('dcAntispam', 'isSpam'));
15$core->addBehavior('publicBeforeTrackbackCreate', array('dcAntispam', 'isSpam'));
16$core->addBehavior('publicBeforeDocument', array('dcAntispam', 'purgeOldSpam'));
Note: See TracBrowser for help on using the repository browser.

Sites map