[pLog-svn] r4816 - plugins/branches/lifetype-1.2/akismet

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Thu Feb 22 05:18:35 EST 2007


Author: pwestbro
Date: 2007-02-22 05:18:35 -0500 (Thu, 22 Feb 2007)
New Revision: 4816

Modified:
   plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php
Log:
Forgot to add the lines to enable the global settings.


Modified: plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php
===================================================================
--- plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php	2007-02-22 10:13:37 UTC (rev 4815)
+++ plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php	2007-02-22 10:18:35 UTC (rev 4816)
@@ -72,5 +72,16 @@
 	    {
 	        return $this->pluginEnabled;
 	    }
+	    
+	    function getPluginConfigurationKeys()
+		{
+			lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+			
+			return( Array(
+				Array( "name" => "plugin_akismet_enabled", "type" => "boolean" ),
+				Array( "name" => "plugin_akismet_api_key", "validator" => new StringValidator(), "type" => "string" ),
+			));
+		}
+
 	}
 ?>
\ No newline at end of file



More information about the pLog-svn mailing list