X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FTemplates.pm;h=c5a49fe44f1b03b419b686bd1bd7b8e96ee857dd;hp=06d2191edadc079cbed48db5938241cc8214f876;hb=de9d037528895f7151a9aead6724ce2df95f9586;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e diff --git a/rt/lib/RT/Templates.pm b/rt/lib/RT/Templates.pm index 06d2191ed..c5a49fe44 100755 --- a/rt/lib/RT/Templates.pm +++ b/rt/lib/RT/Templates.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) @@ -68,10 +68,10 @@ package RT::Templates; use strict; use warnings; -use RT::Template; - use base 'RT::SearchBuilder'; +use RT::Template; + sub Table { 'Templates'} @@ -140,18 +140,6 @@ sub AddRecord { return $self->SUPER::AddRecord( $record ); } -=head2 NewItem - -Returns an empty new RT::Template item - -=cut - -sub NewItem { - my $self = shift; - return(RT::Template->new($self->CurrentUser)); -} - - RT::Base->_ImportOverlays(); 1;