aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2008101303.php
blob: 69e44e3a0cf22f67cceaf85d1ce8ddc92f11bcd3 (plain)
1
2
3
4
5
6
7
8
9
<?php

// Upgrade to solve login issue

if ($users = get_entities_from_metadata('validated_email', '', 'user', '', 0, 9999)) {
	foreach ($users as $user) {
		set_user_validation_status($user->guid, true, 'email');
	}
}