Переглянути джерело

marking function as private.
moving copyright and license info into phpdoc tags

tokul 21 роки тому
батько
коміт
0717c4ac1e

+ 3 - 3
plugins/filters/filters.php

@@ -2,9 +2,6 @@
 /**
  * Message and Spam Filter Plugin - Filtering Functions
  *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This plugin filters your inbox into different folders based upon given
  * criteria.  It is most useful for people who are subscibed to mailing lists
  * to help organize their messages.  The argument stands that filtering is
@@ -22,6 +19,8 @@
  * Also view plugins/README.plugins for more information.
  *
  * @version $Id$
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @package plugins
  * @subpackage filters
  */
@@ -764,6 +763,7 @@ function filter_swap($id1, $id2) {
 /**
  * This update the filter rules when renaming or deleting folders
  * @param array $args
+ * @access private
  */
 function update_for_folder ($args) {
     $old_folder = $args[0];

+ 2 - 4
plugins/filters/index.php

@@ -1,14 +1,12 @@
 <?php
-
 /**
  *  index.php -- Displays the main frameset
  *
- *  Copyright (c) 1999-2004 The SquirrelMail development team
- *  Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  *  Redirects to the login page.
  *
  * @version $Id$
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @package plugins
  * @subpackage filters
  */

+ 2 - 3
plugins/filters/options.php

@@ -2,9 +2,6 @@
 /**
  * Message and Spam Filter Plugin - Filtering Options
  *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This plugin filters your inbox into different folders based upon given
  * criteria. It is most useful for people who are subscibed to mailing lists
  * to help organize their messages.  The argument stands that filtering is
@@ -22,6 +19,8 @@
  * Also view plugins/README.plugins for more information.
  *
  * @version $Id$
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @package plugins
  * @subpackage filters
  */

+ 3 - 4
plugins/filters/setup.php

@@ -1,9 +1,6 @@
 <?php
 /**
- * Message and Spam Filter Plugin
- *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Message and Spam Filter Plugin - Setup script
  *
  * This plugin filters your inbox into different folders based upon given
  * criteria.  It is most useful for people who are subscibed to mailing lists
@@ -22,6 +19,8 @@
  * Also view plugins/README.plugins for more information.
  *
  * @version $Id$
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @package plugins
  * @subpackage filters
  */

+ 3 - 4
plugins/filters/spamoptions.php

@@ -1,9 +1,6 @@
 <?php
 /**
- * Message and Spam Filter Plugin
- *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Message and Spam Filter Plugin - Spam Options
  *
  * This plugin filters your inbox into different folders based upon given
  * criteria.  It is most useful for people who are subscibed to mailing lists
@@ -22,6 +19,8 @@
  * Also view plugins/README.plugins for more information.
  *
  * @version $Id$
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @package plugins
  * @subpackage filters
  */