}
my $patron = Koha::Patron->new( \%borrower )->store;
$patron->discard_changes;
C4::Members::Messaging::SetMessagingPreferencesFromDefaults(
{
borrowernumber => $patron->borrowernumber,
-