[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-655-g36df10d
Shawn Moore
sartak at bestpractical.com
Wed Sep 1 22:19:44 EDT 2010
The branch, 3.9-trunk has been updated
via 36df10d19a29dd932c62dd9dece13cfe1e4a0f01 (commit)
from 1962f202c38d3a3304d388f34636744d1fc5029a (commit)
Summary of changes:
lib/RT/SavedSearches.pm | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 36df10d19a29dd932c62dd9dece13cfe1e4a0f01
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Sep 1 22:22:02 2010 -0400
Restore RT::SavedSearches::_PrivacyObjects but make it warn
diff --git a/lib/RT/SavedSearches.pm b/lib/RT/SavedSearches.pm
index bc0ee43..72cc730 100644
--- a/lib/RT/SavedSearches.pm
+++ b/lib/RT/SavedSearches.pm
@@ -181,6 +181,13 @@ sub _GetObject {
return RT::SavedSearch->new($self->CurrentUser)->_GetObject($privacy);
}
+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;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list