aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-13 12:18:34 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-13 12:18:34 +0000
commitbd8b8775f9e2c4e60457ab067cc3ad2c776757f6 (patch)
tree1b40bf2df2ecd52fbabecff4c4fcc767b78c93ac /engine/lib
parent3f79316c49f73b3c9f2d48a0554c72ded32fdba7 (diff)
downloadelgg-bd8b8775f9e2c4e60457ab067cc3ad2c776757f6.tar.gz
elgg-bd8b8775f9e2c4e60457ab067cc3ad2c776757f6.tar.bz2
Fixed the previous user login issue.
git-svn-id: https://code.elgg.org/elgg/trunk@2237 36083f99-b078-4883-b0ff-0f9b5a30f544
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