Commit 78236ada authored by Dries's avatar Dries
Browse files

- Patch #149540 by chx: first user installed as uid = 2 in MySQL 4.1.

parent 3ee06d4b
......@@ -2845,14 +2845,14 @@ function system_update_6005() {
$err = error_reporting(0);
$ret1 = update_sql('DROP INDEX {url_alias}_dst_idx');
if ($ret1['success']) {
$ret[] = $ret1;
$ret[] = $ret1;
}
$ret1 = array();
db_drop_unique_key($ret, 'url_alias', 'dst');
foreach ($ret1 as $r) {
if ($r['success']) {
$ret[] = $r;
}
if ($r['success']) {
$ret[] = $r;
}
}
error_reporting($err);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment