X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FSavedSearches.pm;h=ba18c9913a0ab1b3dbcd842232789a4673053826;hb=07bf36bccc4979b12db49b0f71524de4296f3717;hp=15c90dcb0c83fbe7ff0362efe69936f149a19144;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/lib/RT/SavedSearches.pm b/rt/lib/RT/SavedSearches.pm index 15c90dcb0..ba18c9913 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-2017 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;