producing the topic-pages at open-posting is to heavy, that has to be more intelligent
authoridfx <idfx>
Sun, 3 Feb 2002 13:47:13 +0000 (13:47 +0000)
committeridfx <idfx>
Sun, 3 Feb 2002 13:47:13 +0000 (13:47 +0000)
source/mircoders/entity/EntityComment.java
source/mircoders/servlet/ServletModuleOpenIndy.java

index 53f3577..4770334 100755 (executable)
@@ -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")));
                                }
                        }
index db4e247..573cd3b 100755 (executable)
@@ -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