tests: Commit initial version of DevelopmentSettings.php
[lhc/web/wiklou.git] / maintenance / populateRecentChangesSource.php
index eb9797f..0a53dd6 100644 (file)
@@ -60,14 +60,12 @@ class PopulateRecentChangesSource extends LoggedUpdateMaintenance {
                $updatedValues = $this->buildUpdateCondition( $dbw );
 
                while ( $blockEnd <= $end ) {
-                       $cond = "rc_id BETWEEN $blockStart AND $blockEnd";
-
                        $dbw->update(
                                'recentchanges',
                                [ $updatedValues ],
                                [
                                        "rc_source = ''",
-                                       "rc_id BETWEEN $blockStart AND $blockEnd"
+                                       "rc_id BETWEEN " . (int)$blockStart . " AND " . (int)$blockEnd
                                ],
                                __METHOD__
                        );