X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FPrincipals.pm;h=b909d2499fb2aa7d145512e8720d6b83331110bf;hp=69e49ef1547b9c1be0f3cd9adeab3af7af2e0370;hb=7322f2afedcc2f427e997d1535a503613a83f088;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 diff --git a/rt/lib/RT/Principals.pm b/rt/lib/RT/Principals.pm index 69e49ef15..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-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -70,28 +70,18 @@ use strict; use warnings; -use RT::Principal; - use base 'RT::SearchBuilder'; +use RT::Principal; + sub Table { 'Principals'} sub _Init { my $self = shift; + $self->{'with_disabled_column'} = 1; 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;