session_begin(); $auth->acl($user->data); $user->setup(); $start = request_var('start', 0); $num_items = 1000; echo '
Updating user email hashes' . "\n"; $sql = 'SELECT user_id, user_email FROM ' . USERS_TABLE . ' ORDER BY user_id ASC'; $result = $db->sql_query($sql); $echos = 0; while ($row = $db->sql_fetchrow($result)) { $echos++; $sql = 'UPDATE ' . USERS_TABLE . " SET user_email_hash = '" . $db->sql_escape(phpbb_email_hash($row['user_email'])) . "' WHERE user_id = " . (int) $row['user_id']; $db->sql_query($sql); if ($echos == 200) { echo '
'; $echos = 0; } echo '.'; flush(); } $db->sql_freeresult($result); echo 'FINISHED'; // Done $db->sql_close(); stro/mes5 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-14 19:01:50 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-14 19:01:50 +0000
commit84ec8a15b48085c43080b13de713be4dff50bd14 (patch)
treeb663e25a27778c64995c3914860f06fb868769a9 /perl-install
parentdc1b32977506d67517194452903961a7930f4bb0 (diff)
downloaddrakx-84ec8a15b48085c43080b13de713be4dff50bd14.tar
drakx-84ec8a15b48085c43080b13de713be4dff50bd14.tar.gz
drakx-84ec8a15b48085c43080b13de713be4dff50bd14.tar.bz2
drakx-84ec8a15b48085c43080b13de713be4dff50bd14.tar.xz
drakx-84ec8a15b48085c43080b13de713be4dff50bd14.zip
change license ownership (mga#7347)
Diffstat (limited to 'perl-install')