X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FObjectClasses.pm;h=38f0216df1c3b68d8281726c221f8a832fac4473;hb=0c9802e5aeff0c80059db9f14135cf4826bf500b;hp=89acd9d36629cf6c95486314c4fb6c0270742e9a;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e;p=freeside.git diff --git a/rt/lib/RT/ObjectClasses.pm b/rt/lib/RT/ObjectClasses.pm index 89acd9d36..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-2015 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();