[Jifty-commit] r2069 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Oct 26 00:44:31 EDT 2006


Author: jesse
Date: Thu Oct 26 00:44:30 2006
New Revision: 2069

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Record.pm

Log:
 r29397 at pinglin:  jesse | 2006-10-25 21:43:44 -0700
 * removed ad_hash from Record.pm, as it's now in Jifty::DBI


Modified: jifty/trunk/lib/Jifty/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Record.pm	Thu Oct 26 00:44:30 2006
@@ -257,20 +257,6 @@
     $value;
 }
 
-=head2 as_hash 
-
-Returns a version of this object's readable columns rendered as a hash of key => value pairs
-
-=cut
-
-sub as_hash {
-    my $self = shift;
-    my %values;
-     map {$values{$_} = $self->$_()} $self->readable_attributes  ;
-     return %values;
-}
-
-
 
 =head2 as_superuser
 


More information about the Jifty-commit mailing list