OSDN Git Service

Update project date from '2002 - 2009' to '2002 - 2010'.
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / libs / ACTIONLOG.php
index 2737137..bbe318e 100755 (executable)
@@ -1,7 +1,7 @@
 <?php
 /*
  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
- * Copyright (C) 2002-2006 The Nucleus Group
+ * Copyright (C) 2002-2010 The Nucleus Group
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -13,9 +13,9 @@
  * Actionlog class for Nucleus
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
- * @copyright Copyright (C) 2002-2006 The Nucleus Group
- * @version $Id: ACTIONLOG.php,v 1.5 2006-07-17 20:03:44 kimitake Exp $
- * $NucleusJP: ACTIONLOG.php,v 1.4 2005/08/13 07:31:04 kimitake Exp $
+ * @copyright Copyright (C) 2002-2010 The Nucleus Group
+ * @version $Id$
+ * $NucleusJP: ACTIONLOG.php,v 1.7 2007/03/13 05:18:32 shizuki Exp $
  */
 define('ERROR',1);             // only errors
 define('WARNING',2);   // errors and warnings
@@ -26,7 +26,7 @@ $CONF['LogLevel'] = INFO;
 class ACTIONLOG {
 
        /**
-         * (Static) Method to add message to log
+         * (Static) Method to add a message to the action log
          */
        function add($level, $message) {
                global $member, $CONF;
@@ -47,7 +47,7 @@ class ACTIONLOG {
        }
 
        /**
-         * (Static) Method to clear log
+         * (Static) Method to clear the whole action log
          */
        function clear() {
                global $manager;
@@ -59,6 +59,9 @@ class ACTIONLOG {
                return sql_query($query);
        }
 
+       /**
+         * (Static) Method to trim the action log (from over 500 back to 250 entries)
+         */
        function trimLog() {
                static $checked = 0;