use Koha::Patron::Attribute::Types;
use Koha::Patron::Attributes;
use Koha::Patron::Images;
-use Koha::Patron::Modification;
-use Koha::Patron::Modifications;
use Koha::Patron::Categories;
use Koha::Token;
use Koha::AuthorisedValues;
};
}
}
+
+ # Notify library of new patron registration
+ my $notify_library = C4::Context->preference('EmailPatronRegistrations');
+ if ($notify_library) {
+ $patron->notify_library_of_registration($notify_library);
+ }
+
} else {
# FIXME Handle possible errors here
}