Change occurances of user->profileField to user->get
This commit is contained in:
parent
ae48e7517a
commit
59c03b50e7
41 changed files with 86 additions and 86 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue