Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 15:38:10 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r264615 - user/des/fbp/lib/FBP/Controller
Message-ID:  <201404171538.s3HFcAf8009984@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404171538.s3HFcAf8009984>