Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 21:27:53 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r264563 - user/des/fbp/lib/FBP/Controller
Message-ID:  <201404162127.s3GLRrMn046942@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Wed Apr 16 21:27:52 2014
New Revision: 264563
URL: http://svnweb.freebsd.org/changeset/base/264563

Log:
  Once a user has voted, delete poll-specific state from their session.

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	Wed Apr 16 21:16:22 2014	(r264562)
+++ user/des/fbp/lib/FBP/Controller/Poll.pm	Wed Apr 16 21:27:52 2014	(r264563)
@@ -236,7 +236,7 @@ sub done :Chained('poll') :Path :Args(0)
 
     my $poll = $c->stash->{poll};
     my $pid = $poll->id;
-    #delete($c->session->{$pid});
+    delete($c->session->{$pid});
 }
 
 =head2 default



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