dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use an actual URL for helppage in enotif_body
[lhc/web/wiklou.git]
/
maintenance
/
updateCollation.php
diff --git
a/maintenance/updateCollation.php
b/maintenance/updateCollation.php
index
7ca04b4
..
19c1d24
100644
(file)
--- a/
maintenance/updateCollation.php
+++ b/
maintenance/updateCollation.php
@@
-120,6
+120,7
@@
TEXT;
}
if ( $count == 0 ) {
$this->output( "Collations up-to-date.\n" );
}
if ( $count == 0 ) {
$this->output( "Collations up-to-date.\n" );
+
return;
}
$this->output( "Fixing collation for $count rows.\n" );
return;
}
$this->output( "Fixing collation for $count rows.\n" );
@@
-150,7
+151,8
@@
TEXT;
# This is an old-style row, so the sortkey needs to be
# converted.
if ( $row->cl_sortkey == $title->getText()
# This is an old-style row, so the sortkey needs to be
# converted.
if ( $row->cl_sortkey == $title->getText()
- || $row->cl_sortkey == $title->getPrefixedText() ) {
+ || $row->cl_sortkey == $title->getPrefixedText()
+ ) {
$prefix = '';
} else {
# Custom sortkey, use it as a prefix
$prefix = '';
} else {
# Custom sortkey, use it as a prefix
@@
-236,6
+238,7
@@
TEXT;
$prefix .= " AND $equality";
}
}
$prefix .= " AND $equality";
}
}
+
return $cond;
}
return $cond;
}