dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d69f04e
)
*cough* ahem
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 23 Apr 2007 18:30:36 +0000
(18:30 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 23 Apr 2007 18:30:36 +0000
(18:30 +0000)
maintenance/updateRestrictions.php
patch
|
blob
|
history
diff --git
a/maintenance/updateRestrictions.php
b/maintenance/updateRestrictions.php
index
caf0f43
..
f93a3fe
100644
(file)
--- a/
maintenance/updateRestrictions.php
+++ b/
maintenance/updateRestrictions.php
@@
-27,7
+27,7
@@
function migrate_page_restrictions( $db ) {
$blockEnd = $start + BATCH_SIZE - 1;
$encodedExpiry = Block::decodeExpiry('');
while ( $blockEnd <= $end ) {
- $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_res
c
rictions !=''";
+ $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_res
t
rictions !=''";
$res = $db->select( 'page', array('page_id', 'page_restrictions'), $cond, __FUNCTION__ );
$batch = array();
while ( $row = $db->fetchObject( $res ) ) {