aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2008101303.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/upgrades/2008101303.php')
-rw-r--r--engine/lib/upgrades/2008101303.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2008101303.php b/engine/lib/upgrades/2008101303.php
new file mode 100644
index 000000000..69e44e3a0
--- /dev/null
+++ b/engine/lib/upgrades/2008101303.php
@@ -0,0 +1,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');
+ }
+}