X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FSavedSearches.pm;h=c060701bdc240a72f9cfadf721e605a236a6a825;hp=af8f48265aef861969294ce537a417989d865f45;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125 diff --git a/rt/lib/RT/SavedSearches.pm b/rt/lib/RT/SavedSearches.pm index af8f48265..c060701bd 100644 --- a/rt/lib/RT/SavedSearches.pm +++ b/rt/lib/RT/SavedSearches.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) @@ -67,12 +67,12 @@ package RT::SavedSearches; -use RT::SavedSearch; - use strict; use warnings; use base 'RT::SharedSettings'; +use RT::SavedSearch; + sub RecordClass { return 'RT::SavedSearch'; } @@ -109,15 +109,6 @@ sub LimitToPrivacy { } } -### Internal methods - -sub _PrivacyObjects { - my $self = shift; - Carp::carp("RT::SavedSearches->_PrivacyObjects is deprecated. Please use RT::SavedSearch->_PrivacyObjects"); - my $search = RT::SavedSearch->new($self->CurrentUser); - return $search->_PrivacyObjects(@_); -} - RT::Base->_ImportOverlays(); 1;