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

@ -104,7 +104,7 @@ sub addPost {
url=>$parent->get("url")."/".$title,
content=>$content,
ownerUserId=>$user->userId,
username=>$user->profileField("alias") || $user->username,
username=>$user->get("alias") || $user->username,
originalEmail=>join("",@{$message->{rawMessage}}),
});
if (scalar(@attachments)) {

View file

@ -173,7 +173,7 @@ sub execute {
my $value = $entry->get_value($self->_alias($fieldName));
next unless length $value;
# $self->session->log->warn("DEBUG: SyncProfilesToLdap: Got data for profile field '$fieldName'");
$user->profileField($fieldName, $value);
$user->get($fieldName, $value);
}
}
} continue {