Change occurances of user->profileField to user->get

This commit is contained in:
Colin Kuskie 2010-11-18 16:12:03 -08:00
parent ae48e7517a
commit 59c03b50e7
41 changed files with 86 additions and 86 deletions

View file

@ -1192,7 +1192,7 @@ sub www_login {
# Set the proper redirect
if ( $self->session->setting->get( 'showMessageOnLogin' )
&& $self->user->profileField( $LOGIN_MESSAGE_SEEN )
&& $self->user->get( $LOGIN_MESSAGE_SEEN )
< $self->session->setting->get( 'showMessageOnLoginTimes' )
) {
return $self->showMessageOnLogin;
@ -1264,8 +1264,8 @@ sub www_showMessageOnLogin {
my $i18n = WebGUI::International->new( $self->session, 'Auth' );
# Increment the number of time seen.
$self->user->profileField( $LOGIN_MESSAGE_SEEN,
$self->user->profileField( $LOGIN_MESSAGE_SEEN ) + 1
$self->user->get( $LOGIN_MESSAGE_SEEN,
$self->user->get( $LOGIN_MESSAGE_SEEN ) + 1
);
# Show the message, processing for macros