Remove unused/debug code and rename comment var enable_comments
This commit is contained in:
parent
062fe9a479
commit
ee170cca69
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue