X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Flib%2FRT%2FObjectClasses.pm;h=3370cf645d54add6a4714f8e6dbab22dd86fefbc;hb=d2b1f8e85a1e879ea6a986b9075eb2babd409af8;hp=01cf77f8ec19c1063c8e1b6d6aedb33850e5d05f;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;p=freeside.git diff --git a/rt/lib/RT/ObjectClasses.pm b/rt/lib/RT/ObjectClasses.pm index 01cf77f8e..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-2013 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();