diff --git a/lib/WebGUI/Operation/Profile.pm b/lib/WebGUI/Operation/Profile.pm index 9ca7bd60c..d88099c41 100644 --- a/lib/WebGUI/Operation/Profile.pm +++ b/lib/WebGUI/Operation/Profile.pm @@ -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); } #------------------------------------------------------------------- diff --git a/lib/WebGUI/User.pm b/lib/WebGUI/User.pm index 5f9eeeab7..398cdd8f5 100644 --- a/lib/WebGUI/User.pm +++ b/lib/WebGUI/User.pm @@ -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.