From 5aff0fbb822b6e3ae57f1826fcfb5edc7a251e1a Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Sat, 24 Oct 2009 18:40:40 +0200 Subject: do not show comments on unconfigured poll --- poll.rb | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'poll.rb') diff --git a/poll.rb b/poll.rb index 547c83e..931ca5d 100644 --- a/poll.rb +++ b/poll.rb @@ -64,32 +64,6 @@ EDITDELETE ret end def to_html(edituser = "", config = false,activecolumn = nil) - if VCS.revno == 1 && !config - return < - . - .:;:. -.:;;;;;:. - ;;;;; - ;;;;; - ;;;;; - ;;;;; Please press the config link on - ;:;;; the top left corner of this page - ;;; : to configure this poll! - ;:; - ;.: . - : . - . . - - . - -HINT - end ret = "\n" ret += head_to_html(config, activecolumn) -- cgit v1.2.3