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 "Initial support for Content Security Policy, disabled by default"
[lhc/web/wiklou.git]
/
maintenance
/
populateLogUsertext.php
diff --git
a/maintenance/populateLogUsertext.php
b/maintenance/populateLogUsertext.php
index
55ad536
..
3c0bba9
100644
(file)
--- a/
maintenance/populateLogUsertext.php
+++ b/
maintenance/populateLogUsertext.php
@@
-50,13
+50,13
@@
class PopulateLogUsertext extends LoggedUpdateMaintenance {
protected function doDBUpdates() {
$batchSize = $this->getBatchSize();
$db = $this->getDB( DB_MASTER );
protected function doDBUpdates() {
$batchSize = $this->getBatchSize();
$db = $this->getDB( DB_MASTER );
- $start = $db->selectField( 'logging', 'MIN(log_id)',
false
, __METHOD__ );
+ $start = $db->selectField( 'logging', 'MIN(log_id)',
''
, __METHOD__ );
if ( !$start ) {
$this->output( "Nothing to do.\n" );
return true;
}
if ( !$start ) {
$this->output( "Nothing to do.\n" );
return true;
}
- $end = $db->selectField( 'logging', 'MAX(log_id)',
false
, __METHOD__ );
+ $end = $db->selectField( 'logging', 'MAX(log_id)',
''
, __METHOD__ );
// If this is being run during an upgrade from 1.16 or earlier, this
// will be run before the actor table change and should continue. But
// If this is being run during an upgrade from 1.16 or earlier, this
// will be run before the actor table change and should continue. But
@@
-85,7
+85,6
@@
class PopulateLogUsertext extends LoggedUpdateMaintenance {
$this->commitTransaction( $db, __METHOD__ );
$blockStart += $batchSize;
$blockEnd += $batchSize;
$this->commitTransaction( $db, __METHOD__ );
$blockStart += $batchSize;
$blockEnd += $batchSize;
- wfWaitForSlaves();
}
$this->output( "Done populating log_user_text field.\n" );
}
$this->output( "Done populating log_user_text field.\n" );