[Rt-commit] r3119 - in rt/branches/3.4-RELEASE: . lib/RT
kevinr at bestpractical.com
kevinr at bestpractical.com
Thu Jun 9 01:32:41 EDT 2005
Author: kevinr
Date: Thu Jun 9 01:32:41 2005
New Revision: 3119
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
Log:
r4107 at SAD-GIRL-IN-SNOW: kevinr | 2005-06-09 00:43:23 -0400
* makes RT::ScripAction::Load return ($id, $message) instead of just $message,
and adds perldoc for Load() to that effect.
Modified: rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm Thu Jun 9 01:32:41 2005
@@ -117,6 +117,15 @@
# }}}
# {{{ sub Load
+
+=head2 Load IDENTIFIER
+
+Loads an action by its Name.
+
+Returns: Id, Error Message
+
+= cut
+
sub Load {
my $self = shift;
my $identifier = shift;
@@ -139,7 +148,7 @@
$self->{'Template'} = $template;
}
- return ($self->loc('[_1] ScripAction loaded', $self->Id));
+ return ($self->Id, ($self->loc('[_1] ScripAction loaded', $self->Id)));
}
# }}}
More information about the Rt-commit
mailing list