changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > werc / changeset: Remove unused/debug code and rename comment var enable_comments

changeset 331: cda581014f22
parent 330: 0db6b14983a5
child 332: efef7a0b7940
author: uriel@engel.se.cat-v.org
date: Sat, 17 Jan 2009 09:42:24 +0100
files: apps/bridge/app.rc
description: Remove unused/debug code and rename comment var enable_comments
     1.1--- a/apps/bridge/app.rc	Sat Jan 17 09:40:00 2009 +0100
     1.2+++ b/apps/bridge/app.rc	Sat Jan 17 09:42:24 2009 +0100
     1.3@@ -1,5 +1,5 @@
     1.4 fn bridge_init {
     1.5-    if(! ~ $#allowComments 0) {
     1.6+    if(! ~ $#enable_comments 0) {
     1.7         ll_add handlers_body_foot bridge_body_foot 
     1.8         if(get_post_args comment_text) {
     1.9             dprint POST COMMNET $"comment_text
    1.10@@ -23,8 +23,6 @@
    1.11             echo $u > $d/user
    1.12             echo $comment_text > $d/body
    1.13         }
    1.14-        if not
    1.15-            dprint SSS $status
    1.16     }
    1.17 
    1.18 }