[Jifty-commit] r3359 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jun 5 09:53:44 EDT 2007


Author: ruz
Date: Tue Jun  5 09:53:43 2007
New Revision: 3359

Modified:
   jifty/trunk/lib/Jifty/LetMe.pm

Log:
* we have name of a class already so use it

Modified: jifty/trunk/lib/Jifty/LetMe.pm
==============================================================================
--- jifty/trunk/lib/Jifty/LetMe.pm	(original)
+++ jifty/trunk/lib/Jifty/LetMe.pm	Tue Jun  5 09:53:43 2007
@@ -84,7 +84,7 @@
     my $currentuser_object_class = Jifty->app_class("CurrentUser");
     my $u = $currentuser_object_class->new( email => $email )->user_object;
     # we want to be able to get at their auth token.
-    $u->current_user(Jifty->app_class('CurrentUser')->superuser);
+    $u->current_user( $currentuser_object_class->superuser );
     return $u;
 }
 


More information about the Jifty-commit mailing list