Remove unused/debug code and rename comment var enable_comments

This commit is contained in:
Uriel 2009-01-17 09:42:24 +01:00
parent 062fe9a479
commit ee170cca69

View file

@ -1,5 +1,5 @@
fn bridge_init { fn bridge_init {
if(! ~ $#allowComments 0) { if(! ~ $#enable_comments 0) {
ll_add handlers_body_foot bridge_body_foot ll_add handlers_body_foot bridge_body_foot
if(get_post_args comment_text) { if(get_post_args comment_text) {
dprint POST COMMNET $"comment_text dprint POST COMMNET $"comment_text
@ -23,8 +23,6 @@ fn bridge_init {
echo $u > $d/user echo $u > $d/user
echo $comment_text > $d/body echo $comment_text > $d/body
} }
if not
dprint SSS $status
} }
} }