From owner-svn-src-user@FreeBSD.ORG Mon Apr 7 18:59:03 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 744B5A22; Mon, 7 Apr 2014 18:59:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4861668E; Mon, 7 Apr 2014 18:59:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s37Ix3Zi093700; Mon, 7 Apr 2014 18:59:03 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s37Ix2Su093698; Mon, 7 Apr 2014 18:59:02 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201404071859.s37Ix2Su093698@svn.freebsd.org> From: Dag-Erling Smørgrav Date: Mon, 7 Apr 2014 18:59:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r264233 - user/des/fbce/lib/FBCE/Controller X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2014 18:59:03 -0000 Author: des Date: Mon Apr 7 18:59:02 2014 New Revision: 264233 URL: http://svnweb.freebsd.org/changeset/base/264233 Log: Remove unnecessary (and commented-out) code. Modified: user/des/fbce/lib/FBCE/Controller/Run.pm user/des/fbce/lib/FBCE/Controller/Vote.pm Modified: user/des/fbce/lib/FBCE/Controller/Run.pm ============================================================================== --- user/des/fbce/lib/FBCE/Controller/Run.pm Mon Apr 7 18:17:31 2014 (r264232) +++ user/des/fbce/lib/FBCE/Controller/Run.pm Mon Apr 7 18:59:02 2014 (r264233) @@ -23,7 +23,6 @@ Catalyst Controller. sub index :Path :Args(0) { my ($self, $c) = @_; -# $c->authenticate(); my $user = $c->user->get_object(); $c->stash(user => $user); } @@ -31,7 +30,6 @@ sub index :Path :Args(0) { sub register :Local :Args(0) { my ($self, $c) = @_; -# $c->authenticate(); my $user = $c->user->get_object(); if ($c->stash->{'nominating'} != 0 || !$user->active) { $c->res->redirect($c->uri_for('/run')); @@ -62,7 +60,6 @@ sub register :Local :Args(0) { sub edit :Local :Args(0) { my ($self, $c) = @_; -# $c->authenticate(); my $user = $c->user->get_object(); if ($c->stash->{'nominating'} != 0 || !$user->active) { $c->res->redirect($c->uri_for('/run')); @@ -92,7 +89,6 @@ sub edit :Local :Args(0) { sub withdraw :Local :Args(0) { my ($self, $c) = @_; -# $c->authenticate(); my $user = $c->user->get_object(); if ($c->stash->{'nominating'} != 0 || !$user->active) { $c->res->redirect($c->uri_for('/run')); Modified: user/des/fbce/lib/FBCE/Controller/Vote.pm ============================================================================== --- user/des/fbce/lib/FBCE/Controller/Vote.pm Mon Apr 7 18:17:31 2014 (r264232) +++ user/des/fbce/lib/FBCE/Controller/Vote.pm Mon Apr 7 18:59:02 2014 (r264233) @@ -75,8 +75,7 @@ sub index :Path :Args(0) { # sub commit :Local :Args(0) { # my ($self, $c) = @_; - -# $c->authenticate(); +# # my $user = $c->user->get_object(); # if ($c->stash->{'voting'} != 0 || !$user->active) { # $c->res->redirect($c->uri_for('/vote'));