[Rt-commit] r18953 - rt/3.999/trunk/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Fri Mar 27 13:36:25 EDT 2009


Author: ruz
Date: Fri Mar 27 13:36:24 2009
New Revision: 18953

Modified:
   rt/3.999/trunk/lib/RT/Record.pm

Log:
* we have creator_obj equive from jifty plugin

Modified: rt/3.999/trunk/lib/RT/Record.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Record.pm	(original)
+++ rt/3.999/trunk/lib/RT/Record.pm	Fri Mar 27 13:36:24 2009
@@ -411,26 +411,6 @@
     );
 }
 
-
-
-=head2 creator_obj
-
-Returns an RT::Model::User object with the RT account of the creator of this row
-
-=cut
-
-sub creator_obj {
-    my $self = shift;
-    unless ( exists $self->{'creator_obj'} ) {
-
-        $self->{'creator_obj'} = RT::Model::User->new( current_user => $self->current_user );
-        $self->{'creator_obj'}->load( $self->creator );
-    }
-    return ( $self->{'creator_obj'} );
-}
-
-
-
 =head2 last_updated_by_obj
 
   Returns an RT::Model::User object of the last user to touch this object


More information about the Rt-commit mailing list