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
Revert "Let install.php detect and inject extensions"
[lhc/web/wiklou.git]
/
maintenance
/
recountCategories.php
diff --git
a/maintenance/recountCategories.php
b/maintenance/recountCategories.php
index
ed6a357
..
7e8f063
100644
(file)
--- a/
maintenance/recountCategories.php
+++ b/
maintenance/recountCategories.php
@@
-156,7
+156,7
@@
TEXT
[ "cat_{$this->mode}" => $row->count ],
[
'cat_id' => $row->cat_id,
[ "cat_{$this->mode}" => $row->count ],
[
'cat_id' => $row->cat_id,
- "cat_{$this->mode} !=
{$row->count}"
,
+ "cat_{$this->mode} !=
" . (int)( $row->count )
,
],
__METHOD__ );
$affectedRows += $dbw->affectedRows();
],
__METHOD__ );
$affectedRows += $dbw->affectedRows();
@@
-168,5
+168,5
@@
TEXT
}
}
}
}
-$maintClass =
'RecountCategories'
;
+$maintClass =
RecountCategories::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;