X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FPrincipals.pm;h=b909d2499fb2aa7d145512e8720d6b83331110bf;hp=2f1793d231bbbaa5353a29ded406f1c26b40592f;hb=7322f2afedcc2f427e997d1535a503613a83f088;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e diff --git a/rt/lib/RT/Principals.pm b/rt/lib/RT/Principals.pm index 2f1793d23..b909d2499 100644 --- a/rt/lib/RT/Principals.pm +++ b/rt/lib/RT/Principals.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -70,10 +70,10 @@ use strict; use warnings; -use RT::Principal; - use base 'RT::SearchBuilder'; +use RT::Principal; + sub Table { 'Principals'} sub _Init { @@ -82,17 +82,6 @@ sub _Init { return ( $self->SUPER::_Init(@_) ); } - -=head2 NewItem - -Returns an empty new RT::Principal item - -=cut - -sub NewItem { - my $self = shift; - return(RT::Principal->new($self->CurrentUser)); -} RT::Base->_ImportOverlays(); 1;