remove Moose::Deprecated deprecation for updateProfileFields and remove the last remaining use of it from the code; Moose::Deprecated is failing on 5.10, which is still the default for CentOS and probably will be for a few more epochs
This commit is contained in:
parent
dab6b3e23e
commit
e27f200856
2 changed files with 2 additions and 18 deletions
|
|
@ -95,7 +95,7 @@ sub isDuplicateEmail {
|
|||
Saves profile data to a user's profile. Does not validate any of the data.
|
||||
|
||||
DEPRECATED - This method is deprecated, and should not be used in new code. Use
|
||||
the updateProfileFields method in WebGUI::User
|
||||
the update method in WebGUI::User
|
||||
|
||||
=head3 session
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ sub saveProfileFields {
|
|||
my $session = shift;
|
||||
my $u = shift;
|
||||
my $profile = shift;
|
||||
$u->updateProfileFields($profile);
|
||||
$u->update($profile);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1516,22 +1516,6 @@ sub update {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 updateProfileFields ( profile )
|
||||
|
||||
DEPRECATED! Use update(profile)
|
||||
|
||||
Saves profile data to a user's profile. Does not validate any of the data.
|
||||
|
||||
=head3 profile
|
||||
|
||||
Hash ref of key/value pairs of data in the users's profile to update.
|
||||
|
||||
=cut
|
||||
|
||||
deprecate updateProfileFields => 'update';
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 username ( [ value ] )
|
||||
|
||||
Returns the username.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue