Bug 579189 - New methods added to Bugzilla/User.pm by bug 24896 have no POD
r=dkl, a=LpSolit git-svn-id: svn://10.0.0.236/trunk@264494 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b04c46d096
commit
f3c5921119
@ -1 +1 @@
|
||||
8489
|
||||
8490
|
||||
@ -2222,6 +2222,35 @@ Returns a hashref with tag IDs as key, and a hashref with tag 'id',
|
||||
|
||||
=back
|
||||
|
||||
=head2 Saved Recent Bug Lists
|
||||
|
||||
=over
|
||||
|
||||
=item C<recent_searches>
|
||||
|
||||
Returns an arrayref of L<Bugzilla::Search::Recent> objects
|
||||
containing the user's recent searches.
|
||||
|
||||
=item C<recent_search_containing(bug_id)>
|
||||
|
||||
Returns a L<Bugzilla::Search::Recent> object that contains the most recent
|
||||
search by the user for the specified bug id. Retuns undef if no match is found.
|
||||
|
||||
=item C<recent_search_for(bug)>
|
||||
|
||||
Returns a L<Bugzilla::Search::Recent> object that contains a search by the
|
||||
user. Uses the list_id of the current loaded page, or the referrer page, and
|
||||
the bug id if that fails. Finally it will check the BUGLIST cookie, and create
|
||||
an object based on that, or undef if it does not exist.
|
||||
|
||||
=item C<save_last_search>
|
||||
|
||||
Saves the users most recent search in the database if logged in, or in the
|
||||
BUGLIST cookie if not logged in. Paramaters are bug_ids, order, vars and
|
||||
list_id.
|
||||
|
||||
=back
|
||||
|
||||
=head2 Account Lockout
|
||||
|
||||
=over
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user