From 35fba133fcafc3e1a1f052f1ce184d631c61e1e9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 30 Nov 2011 17:12:38 -0800 Subject: [PATCH] Remove deprecated code in User getInboxNotificationAddress --- lib/WebGUI/User.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/User.pm b/lib/WebGUI/User.pm index 2984293f0..a2f81cd29 100644 --- a/lib/WebGUI/User.pm +++ b/lib/WebGUI/User.pm @@ -756,9 +756,9 @@ sent. sub getInboxNotificationAddresses { my $self = shift; my $emails = ''; - if ( $self->profileField('receiveInboxEmailNotifications') - && $self->profileField('email')) { - $emails = $self->profileField('email'); + if ( $self->get('receiveInboxEmailNotifications') + && $self->get('email')) { + $emails = $self->get('email'); } return $emails; }