53 $user->setNotificationSetting($method,
false,
'admin_validation_notification');
57 $user->setNotificationSetting(
'email', (
bool) $user->admin_validation_notification,
'admin_validation_notification');
58 unset($user->admin_validation_notification);
81 'metadata_name' =>
'admin_validation_notification',
addSuccesses(int $num=1)
Set an item (or items) as successfully upgraded.
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) $options
getOptions(array $options=[])
Get the options to fetch orphaned comments.
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
run(Result $result, $offset)
{}
elgg_count_entities(array $options=[])
Returns a count of entities.
Result of a single BatchUpgrade run.
elgg_get_notification_methods()
Returns registered delivery methods for notifications [ 'email' => 'email', 'sms' => 'sms'...
Class to extend for asynchronous upgrades, i.e.