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
Merge "Update Microsoft SQL Server schema"
[lhc/web/wiklou.git]
/
maintenance
/
populateRecentChangesSource.php
diff --git
a/maintenance/populateRecentChangesSource.php
b/maintenance/populateRecentChangesSource.php
index
25a51d7
..
05098ac
100644
(file)
--- a/
maintenance/populateRecentChangesSource.php
+++ b/
maintenance/populateRecentChangesSource.php
@@
-32,8
+32,8
@@
require_once __DIR__ . '/Maintenance.php';
class PopulateRecentChangesSource extends LoggedUpdateMaintenance {
public function __construct() {
parent::__construct();
class PopulateRecentChangesSource extends LoggedUpdateMaintenance {
public function __construct() {
parent::__construct();
- $this->
mDescription =
-
"Populates rc_source field of the recentchanges table with the data in rc_type."
;
+ $this->
addDescription(
+
'Populates rc_source field of the recentchanges table with the data in rc_type.' )
;
$this->setBatchSize( 100 );
}
$this->setBatchSize( 100 );
}
@@
-61,11
+61,11
@@
class PopulateRecentChangesSource extends LoggedUpdateMaintenance {
$dbw->update(
'recentchanges',
$dbw->update(
'recentchanges',
-
array( $updatedValues )
,
- array(
+
[ $updatedValues ]
,
+ [
"rc_source = ''",
"rc_id BETWEEN $blockStart AND $blockEnd"
"rc_source = ''",
"rc_id BETWEEN $blockStart AND $blockEnd"
-
)
,
+
]
,
__METHOD__
);
__METHOD__
);