[Rt-commit] r15707 - in rt/3.8/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Tue Sep 2 22:14:05 EDT 2008
Author: sartak
Date: Tue Sep 2 22:14:01 2008
New Revision: 15707
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/Dashboard.pm
Log:
r70878 at onn: sartak | 2008-09-02 22:08:18 -0400
Remove some of the now much-less-useful API
Modified: rt/3.8/trunk/lib/RT/Dashboard.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Dashboard.pm (original)
+++ rt/3.8/trunk/lib/RT/Dashboard.pm Tue Sep 2 22:14:01 2008
@@ -170,30 +170,7 @@
my $search = RT::SavedSearch->new($self->CurrentUser);
$search->Load($_->{privacy}, $_->{id});
$search
- } $self->SearchIds;
-}
-
-=head2 SearchIds
-
-Returns a list of hash references
-
-=cut
-
-sub SearchIds {
- my $self = shift;
- return grep { $_->{portlet_type} eq 'search' } $self->Portlets;
-}
-
-=head2 SearchPrivacies
-
-Returns a list of array references, each one being suitable to pass to
-/Elements/ShowSearch.
-
-=cut
-
-sub SearchPrivacies {
- my $self = shift;
- return map { [$self->SearchPrivacy(@$_)] } $self->SearchIds;
+ } grep { $_->{portlet_type} eq 'search' } $self->Portlets;
}
=head2 SearchPrivacy Portlet
More information about the Rt-commit
mailing list