Index: trunk/phase3/includes/HTMLCacheUpdate.php |
— | — | @@ -27,7 +27,6 @@ |
28 | 28 | { |
29 | 29 | public $mTitle, $mTable, $mPrefix; |
30 | 30 | public $mRowsPerJob, $mRowsPerQuery; |
31 | | - public $mResult; |
32 | 31 | |
33 | 32 | function __construct( $titleTo, $table ) { |
34 | 33 | global $wgUpdateRowsPerJob, $wgUpdateRowsPerQuery; |
— | — | @@ -43,7 +42,7 @@ |
44 | 43 | $cond = $this->getToCondition(); |
45 | 44 | $dbr = wfGetDB( DB_SLAVE ); |
46 | 45 | $res = $dbr->select( $this->mTable, $this->getFromField(), $cond, __METHOD__ ); |
47 | | - $this->mResult = $res; |
| 46 | + |
48 | 47 | if ( $dbr->numRows( $res ) != 0 ) { |
49 | 48 | if ( $dbr->numRows( $res ) > $this->mRowsPerJob ) { |
50 | 49 | $this->insertJobs( $res ); |