X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FObjectClasses.pm;h=3370cf645d54add6a4714f8e6dbab22dd86fefbc;hp=ac95adef576cebec5381409b58ce6cbfd120aaf2;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500 diff --git a/rt/lib/RT/ObjectClasses.pm b/rt/lib/RT/ObjectClasses.pm index ac95adef5..3370cf645 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-2015 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();