20 $user = $event->getUserParam();
25 $delayed_email_interval =
get_input(
'delayed_email_interval');
26 if (empty($delayed_email_interval)) {
30 if (
$user->delayed_email_interval === $delayed_email_interval) {
36 $user->delayed_email_interval = $delayed_email_interval;
39 _elgg_services()->delayedEmailQueueTable->updateRecipientInterval(
$user->guid, $delayed_email_interval);
Save the user setting for delayed email interval.
__invoke(\Elgg\Event $event)
Handle the saving of the user settings.
Models an event passed to event handlers.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
_elgg_services()
Get the global service provider.