X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FObjectClasses.pm;h=38f0216df1c3b68d8281726c221f8a832fac4473;hb=de9d037528895f7151a9aead6724ce2df95f9586;hp=ac95adef576cebec5381409b58ce6cbfd120aaf2;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git diff --git a/rt/lib/RT/ObjectClasses.pm b/rt/lib/RT/ObjectClasses.pm index ac95adef5..38f0216df 100644 --- a/rt/lib/RT/ObjectClasses.pm +++ b/rt/lib/RT/ObjectClasses.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -70,17 +70,7 @@ sub LimitToClass { } -=head2 NewItem - -Returns an empty new RT::ObjectClass item - -=cut - -sub NewItem { - my $self = shift; - return(RT::ObjectClass->new($self->CurrentUser)); -} - +sub _SingularClass { "RT::ObjectClass" } RT::Base->_ImportOverlays();