[pLog-svn] r7252 - in plugins/branches/lifetype-1.2: categorycloud/class/action tagcloud/class/action

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Oct 14 22:32:20 EDT 2020


Author: jondaley
Date: 2020-10-14 22:32:20 -0400 (Wed, 14 Oct 2020)
New Revision: 7252

Modified:
   plugins/branches/lifetype-1.2/categorycloud/class/action/plugincategorycloudupdateconfigaction.class.php
   plugins/branches/lifetype-1.2/tagcloud/class/action/plugintagcloudupdateconfigaction.class.php
Log:
removed unused functions

Modified: plugins/branches/lifetype-1.2/categorycloud/class/action/plugincategorycloudupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/categorycloud/class/action/plugincategorycloudupdateconfigaction.class.php	2020-10-15 02:23:43 UTC (rev 7251)
+++ plugins/branches/lifetype-1.2/categorycloud/class/action/plugincategorycloudupdateconfigaction.class.php	2020-10-15 02:32:20 UTC (rev 7252)
@@ -75,14 +75,4 @@
             
             return true;		
 		}
-		
-		function isValidColor($colorCode) {
-      $pattern = "/#[a-fA-F0-9]{6}/";
-      $length = strlen($colorCode);
-      if (preg_match ($pattern, $colorCode) && $length == 7)
-        return true;
-      else
-        return false;
-    }
 	}
-?>

Modified: plugins/branches/lifetype-1.2/tagcloud/class/action/plugintagcloudupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/class/action/plugintagcloudupdateconfigaction.class.php	2020-10-15 02:23:43 UTC (rev 7251)
+++ plugins/branches/lifetype-1.2/tagcloud/class/action/plugintagcloudupdateconfigaction.class.php	2020-10-15 02:32:20 UTC (rev 7252)
@@ -90,13 +90,4 @@
             
             return true;		
 		}
-		
-		function isValidColor($colorCode) {
-      $pattern = "/#[a-fA-F0-9]{6}/";
-      $length = strlen($colorCode);
-      if(preg_match($pattern, $colorCode) && $length == 7)
-        return true;
-      else
-        return false;
-    }
 	}



More information about the pLog-svn mailing list