svn commit: r264615 - user/des/fbp/lib/FBP/Controller
Dag-Erling Smørgrav
des at FreeBSD.org
Thu Apr 17 15:38:10 UTC 2014
Author: des
Date: Thu Apr 17 15:38:10 2014
New Revision: 264615
URL: http://svnweb.freebsd.org/changeset/base/264615
Log:
Remove debugging code.
Modified:
user/des/fbp/lib/FBP/Controller/Poll.pm
Modified: user/des/fbp/lib/FBP/Controller/Poll.pm
==============================================================================
--- user/des/fbp/lib/FBP/Controller/Poll.pm Thu Apr 17 15:16:47 2014 (r264614)
+++ user/des/fbp/lib/FBP/Controller/Poll.pm Thu Apr 17 15:38:10 2014 (r264615)
@@ -244,15 +244,6 @@ sub result :Chained('poll') :Path :Args(
my $poll = $c->stash->{poll};
$c->detach('/default')
unless ($c->user->admin || $poll->ended);
- my $questions = $poll->questions;
- foreach my $question ($questions->all) {
- $c->log->debug("Question " . $question->id);
- my $options = $question->options;
- foreach my $option ($options->all) {
- $c->log->debug("Option " . $option->id . ": " . $option->label);
- $c->log->debug("Votes: " . $option->votes->count);
- }
- }
}
=head2 default
More information about the svn-src-user
mailing list