[Bps-public-commit] jifty-plugin-authentication-twitter branch, master, updated. ff4cca3cc105214b0462bcaeae65d411736d630e

Shawn Moore sartak at bestpractical.com
Thu Jun 10 16:38:26 EDT 2010


The branch, master has been updated
       via  ff4cca3cc105214b0462bcaeae65d411736d630e (commit)
      from  78074cb64d973f89420b56a4d074952a9c4dd457 (commit)

Summary of changes:
 .../Plugin/Authentication/Twitter/Dispatcher.pm    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit ff4cca3cc105214b0462bcaeae65d411736d630e
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Jun 10 16:39:20 2010 -0400

    load_by_cols not load

diff --git a/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm b/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
index ef94a73..08d627b 100644
--- a/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
+++ b/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
@@ -104,7 +104,7 @@ on '/twitter/callback' => run {
     my $screen_name   = $response->extra_params->{screen_name};
 
     my $twitter_account = Jifty::Plugin::Authentication::Twitter::Model::TwitterAccount->new(current_user => Jifty::CurrentUser->superuser);
-    $twitter_account->load(
+    $twitter_account->load_by_cols(
         twitter_id => $twitter_id,
     );
     my $user = Jifty->app_class('Model', 'User')->new;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list