Dotclear

source: plugins/dcFilterDuplicate/_define.php @ 3262

Revision 3262, 996 bytes checked in by JcDenis, 10 years ago (diff)

switch to DC 2.6, clean up code

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of dcFilterDuplicate, a plugin for Dotclear 2.
5#
6# Copyright (c) 2009-2013 Jean-Christian Denis and contributors
7# contact@jcdenis.fr http://jcd.lv
8#
9# Licensed under the GPL version 2.0 license.
10# A copy of this license is available in LICENSE file or at
11# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12#
13# -- END LICENSE BLOCK ------------------------------------
14
15if (!defined('DC_RC_PATH')) {
16
17     return null;
18}
19 
20$this->registerModule(
21     /* Name */
22     "Duplicate comment filter",
23     /* Description*/
24     "Antispam for duplicate comments on multiblog",
25     /* Author */
26     "Jean-Christian Denis",
27     /* Version */
28     '0.5',
29     /* Properies */
30     array(
31          'permissions' => 'admin',
32          'priority' => 200,
33          'type' => 'plugin',
34          'dc_min' => '2.6',
35          'support' => 'http://jcd.lv/q=dcFilterDuplicate',
36          'details' => 'http://plugins.dotaddict.org/dc2/details/dcFilterDuplicate'
37     )
38);
Note: See TracBrowser for help on using the repository browser.

Sites map