aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--engine/lib/upgrades/2008101303.php11
-rw-r--r--version.php4
2 files changed, 13 insertions, 2 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
diff --git a/version.php b/version.php
index 2b5b18010..60195c047 100644
--- a/version.php
+++ b/version.php
@@ -13,9 +13,9 @@
* @link http://elgg.org/
*/
- $version = 2008100701; // YYYYMMDD = Elgg Date
+ $version = 2008101303; // YYYYMMDD = Elgg Date
// XX = Interim incrementer
- $release = '1.07'; // Human-friendly version name
+ $release = '1.08'; // Human-friendly version name
?> \ No newline at end of file