/[A3C]/lib/A3C/Record.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/Record.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 74 by dpavlin, Fri Apr 11 15:55:03 2008 UTC revision 76 by dpavlin, Fri Apr 11 16:50:37 2008 UTC
# Line 25  sub load_or_create { Line 25  sub load_or_create {
25                  ( $self, $class ) = ( $class, undef );                  ( $self, $class ) = ( $class, undef );
26          } else {          } else {
27                  $self = $class->new();                  $self = $class->new();
28      }          }
29    
30          my %args = (@_);          my %args = (@_);
31    
# Line 38  sub load_or_create { Line 38  sub load_or_create {
38    
39          my %load_cols;          my %load_cols;
40    
41          if ( ref($self) eq 'A3C::Model::Person' ) {          if ( ref($self) eq Jifty->app_class('Model','Person') ) {
42    
43                  $load_cols{$_} = $args{$_} foreach ( qw/                  $load_cols{$_} = $args{$_} foreach ( qw/
44                          uid                          uid

Legend:
Removed from v.74  
changed lines
  Added in v.76

  ViewVC Help
Powered by ViewVC 1.1.26