Merge "Avoid use of IDatabase::update return value"

This commit is contained in:
jenkins-bot 2018-10-26 22:04:56 +00:00 committed by Gerrit Code Review
commit e4fad24538

View file

@ -52,7 +52,7 @@ class BackfillReadBundles extends Maintenance {
$displayHash = $row->notification_bundle_display_hash;
$readTimestamp = $row->notification_read_timestamp;
$result = $dbw->update(
$dbw->update(
'echo_notification',
[ 'notification_read_timestamp' => $readTimestamp ],
[
@ -63,10 +63,6 @@ class BackfillReadBundles extends Maintenance {
]
);
if ( !$result ) {
$this->output( "Failed to set read_timestamp on notifications with bundle_display_hash: $displayHash\n" );
}
$processed += $dbw->affectedRows();
}