aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-02-18 02:01:32 +0000
committerAndreas Fischer <bantu@phpbb.com>2010-02-18 02:01:32 +0000
commitc02fedb6c7a80da0be5bd84fe512b3ba6df9f9ee (patch)
treec5e7ff64d59953e137df0696104709082cb96633
parent9bcb25cd100ee898124294f0c13a4b724892926e (diff)
downloadforums-c02fedb6c7a80da0be5bd84fe512b3ba6df9f9ee.tar
forums-c02fedb6c7a80da0be5bd84fe512b3ba6df9f9ee.tar.gz
forums-c02fedb6c7a80da0be5bd84fe512b3ba6df9f9ee.tar.bz2
forums-c02fedb6c7a80da0be5bd84fe512b3ba6df9f9ee.tar.xz
forums-c02fedb6c7a80da0be5bd84fe512b3ba6df9f9ee.zip
Revising r10499, #57755
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10503 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/install/database_update.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 29d82be987..5cb2cd28cc 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1601,7 +1601,7 @@ function change_database_data(&$no_updates, $version)
$no_updates = false;
break;
- // No changes from 3.0.7-RC1 to 3.0.7
+ // Changes from 3.0.7-RC1 to 3.0.7
case '3.0.7-RC1':
$sql = 'SELECT user_id, user_email, user_email_hash
@@ -1624,13 +1624,15 @@ function change_database_data(&$no_updates, $version)
$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
WHERE user_id = ' . (int) $row['user_id'];
- __sql($sql, $errored, $error_ary, ($i % 100 == 0));
+ _sql($sql, $errored, $error_ary, ($i % 100 == 0));
++$i;
}
}
$db->sql_freeresult($result);
+ $no_updates = false;
+
break;
}
}