[Bps-public-commit] r14102 - in sd/trunk: lib/App/SD/Replica/Hiveminder
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 14 19:01:27 EDT 2008
Author: sartak
Date: Mon Jul 14 19:01:26 2008
New Revision: 14102
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
Log:
r64290 at onn: sartak | 2008-07-14 19:01:21 -0400
Use the email_of method in Net::Jifty which does the exact same thing
Modified: sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm (original)
+++ sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm Mon Jul 14 19:01:26 2008
@@ -170,8 +170,7 @@
my $id = shift;
return undef unless ($id);
- my $user = $self->sync_source->hm->read( 'User', 'id', $id );
- return $user->{'email'};
+ return $self->sync_source->hm->email_of($id);
}
memoize 'resolve_user_id_to_email';
More information about the Bps-public-commit
mailing list