[Jifty-commit] r3358 - jifty/trunk/lib/Jifty/Plugin/OpenID/Mixin/Model

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jun 5 02:13:37 EDT 2007


Author: gugod
Date: Tue Jun  5 02:13:01 2007
New Revision: 3358

Modified:
   jifty/trunk/lib/Jifty/Plugin/OpenID/Mixin/Model/User.pm

Log:
Not possible to be intended to put "Doxory::Model::User" there.


Modified: jifty/trunk/lib/Jifty/Plugin/OpenID/Mixin/Model/User.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/OpenID/Mixin/Model/User.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/OpenID/Mixin/Model/User.pm	Tue Jun  5 02:13:01 2007
@@ -35,7 +35,7 @@
     return ( 0, q{That doesn't look like an OpenID URL.} )
         if not defined $uri;
 
-    my $temp_user = Doxory::Model::User->new;
+    my $temp_user = Jifty->app_class("Model", "User")->new;
     $temp_user->load_by_cols( openid => $uri->canonical );
 
     # It's ok if *we* have the openid we're looking for


More information about the Jifty-commit mailing list