[Rt-commit] rt branch, 4.0/hardcoded-status-setters, updated. rt-4.0.0-412-g22b733a
Alex Vandiver
alexmv at bestpractical.com
Fri May 20 18:54:47 EDT 2011
The branch, 4.0/hardcoded-status-setters has been updated
via 22b733a4345e53edb1740e08d31191ede21b58a8 (commit)
from 3d7f7b03dfabf94bc3268afbf40a031052e2054a (commit)
Summary of changes:
lib/RT/Ticket.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 22b733a4345e53edb1740e08d31191ede21b58a8
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri May 20 18:51:15 2011 -0400
Make clear when we may return undef
diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm
index e7c6a1c..85228c2 100644
--- a/lib/RT/Ticket.pm
+++ b/lib/RT/Ticket.pm
@@ -1882,8 +1882,9 @@ sub ResolvedObj {
=head2 FirstActiveStatus
Returns the first active status that the ticket could transition to,
-according to its current Queue's lifecycle. This is used in
-L<RT::Action::AutoOpen>, for instance.
+according to its current Queue's lifecycle. May return undef if there
+is no such possible status to transition to, or we are already in it.
+This is used in L<RT::Action::AutoOpen>, for instance.
=cut
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list