X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FSavedSearches.pm;h=c060701bdc240a72f9cfadf721e605a236a6a825;hp=15c90dcb0c83fbe7ff0362efe69936f149a19144;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500 diff --git a/rt/lib/RT/SavedSearches.pm b/rt/lib/RT/SavedSearches.pm index 15c90dcb0..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-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -67,11 +67,12 @@ package RT::SavedSearches; -use RT::SavedSearch; - use strict; +use warnings; use base 'RT::SharedSettings'; +use RT::SavedSearch; + sub RecordClass { return 'RT::SavedSearch'; } @@ -108,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;