aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/upgrades/2008101303.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2008101303.php b/engine/lib/upgrades/2008101303.php
new file mode 100644
index 000000000..ac189b956
--- /dev/null
+++ b/engine/lib/upgrades/2008101303.php
@@ -0,0 +1,11 @@
+<?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');
+ }
+ }
+
+?> \ No newline at end of file