[Rt-commit] r13796 - in rt/branches/3.999-DANGEROUS: lib/RT/Model
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jul 3 18:44:50 EDT 2008
Author: sunnavy
Date: Thu Jul 3 18:44:49 2008
New Revision: 13796
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
Log:
r14030 at sunnavys-mb: sunnavy | 2008-07-04 00:00:47 +0800
set_random_password instead of set_randompassword
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm Thu Jul 3 18:44:49 2008
@@ -698,9 +698,9 @@
# {{{ password related functions
-# {{{ sub set_randompassword
+# {{{ sub set_random_password
-=head2 set_randompassword
+=head2 set_random_password
Takes no arguments. Returns a status code and a new password or an error message.
If the status is 1, the second value returned is the new password.
@@ -708,7 +708,7 @@
=cut
-sub set_randompassword {
+sub set_random_password {
my $self = shift;
unless ( $self->current_user_can_modify('password') ) {
More information about the Rt-commit
mailing list