[pLog-svn] r5130 - plugins/branches/lifetype-1.2/authimage

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 18 14:18:48 EDT 2007


Author: oscar
Date: 2007-03-18 14:18:48 -0400 (Sun, 18 Mar 2007)
New Revision: 5130

Modified:
   plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php
Log:
Added the allowEmpty parameter to some of the keys globally exported by this plugin.

Modified: plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php
===================================================================
--- plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php	2007-03-18 18:18:12 UTC (rev 5129)
+++ plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php	2007-03-18 18:18:48 UTC (rev 5130)
@@ -180,11 +180,12 @@
 			
 			return( Array(
 				Array( "name" => "plugin_authimage_enabled", "type" => "boolean" ),
-				Array( "name" => "plugin_authimage_length", "validator" => new IntegerValidator(), "type" => "integer" ),
-				Array( "name" => "plugin_authimage_key", "validator" => new StringValidator(), "type" => "string" ),
+				Array( "name" => "plugin_authimage_length", "validator" => new IntegerValidator(), "type" => "integer", "allowEmpty" => true ),
+				Array( "name" => "plugin_authimage_key", "validator" => new StringValidator(), "type" => "string", "allowEmpty" => true ),
 				Array( "name" => "plugin_authimage_expiredtime",
                        "validator" => new IntegerValidator(),
-                       "type" => "integer" ),
+                       "type" => "integer",
+                       "allowEmpty" => true ),
 			));
 		}
     }



More information about the pLog-svn mailing list