X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FSavedSearches.pm;h=c060701bdc240a72f9cfadf721e605a236a6a825;hp=25c7e4a69e6372756cd5fe4876edcb1cb66eb17a;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=45d35d5739d05e602bc317739485693e0e9ff0b5 diff --git a/rt/lib/RT/SavedSearches.pm b/rt/lib/RT/SavedSearches.pm index 25c7e4a69..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-2014 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;