From: idfx Date: Sun, 3 Feb 2002 13:47:13 +0000 (+0000) Subject: producing the topic-pages at open-posting is to heavy, that has to be more intelligent X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=f13504f224195e1d06bee1c1321945e52a0336fe;p=mir.git producing the topic-pages at open-posting is to heavy, that has to be more intelligent --- diff --git a/source/mircoders/entity/EntityComment.java b/source/mircoders/entity/EntityComment.java index 53f35778..47703340 100755 --- a/source/mircoders/entity/EntityComment.java +++ b/source/mircoders/entity/EntityComment.java @@ -53,13 +53,10 @@ public class EntityComment extends AbstractEntity implements Entity } if (theStringValues.containsKey("main_url")){ - theLog.printDebugInfo("------------------ http"); if (((String)theStringValues.get("main_url")).equalsIgnoreCase("http://")) { - theLog.printDebugInfo("laenge1: "+((String)theStringValues.get("main_url")).length()); theStringValues.remove("main_url"); } else if ((!((String)theStringValues.get("main_url")).startsWith("http://")) && ((String)theStringValues.get("main_url")).length()>0){ - theLog.printDebugInfo("laenge2: "+((String)theStringValues.get("main_url")).length()); theStringValues.put("main_url","http://"+((String)theStringValues.get("main_url"))); } } diff --git a/source/mircoders/servlet/ServletModuleOpenIndy.java b/source/mircoders/servlet/ServletModuleOpenIndy.java index db4e2472..573cd3b8 100755 --- a/source/mircoders/servlet/ServletModuleOpenIndy.java +++ b/source/mircoders/servlet/ServletModuleOpenIndy.java @@ -389,7 +389,7 @@ public class ServletModuleOpenIndy extends ServletModule //produce the topicPages if set //should be more intelligent - if(setTopic==true) new ProducerTopics().handle(null,null); + //if(setTopic==true) new ProducerTopics().handle(null,null); // sync the server //should be configureable