X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FPrincipals.pm;h=fa7ac20600f3121f1c660b30792116a08a3b9caa;hp=9cf8cbb39bdc9291433e5a749c26cba99dc1d12f;hb=187086c479a09629b7d180eec513fb7657f4e291;hpb=7588a4ac90a9b07c08a3107cd1107d773be1c991 diff --git a/rt/lib/RT/Principals.pm b/rt/lib/RT/Principals.pm index 9cf8cbb39..fa7ac2060 100644 --- a/rt/lib/RT/Principals.pm +++ b/rt/lib/RT/Principals.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2018 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;