[Jifty-commit] r6961 - jifty/trunk/lib/Jifty/Plugin/Authentication/Password

Jifty commits jifty-commit at lists.jifty.org
Fri May 8 14:10:41 EDT 2009


Author: alexmv
Date: Fri May  8 14:10:41 2009
New Revision: 6961

Modified:
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm

Log:
Remove custom page {} sub from Password's View class

The page {} in Password's View class simply delegated to the
application's View class' page {} -- no other part of the TD page code
uses this codepath.  This _may_ break backwards compatibility in some
applications, however.

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	Fri May  8 14:10:41 2009
@@ -15,14 +15,6 @@
 package Jifty::Plugin::Authentication::Password::View;
 use Jifty::View::Declare -base;
 
-{ no warnings 'redefine';
-sub page (&;$) {
-    no strict 'refs'; 
-    BEGIN {Jifty::Util->require(Jifty->app_class('View'))};
-    Jifty->app_class('View')->can('page')->(@_);
-}
-}
-
 =head1 TEMPLATES
 
 =head2 signup


More information about the Jifty-commit mailing list