Index: trunk/phase3/includes/SquidUpdate.php |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | } |
28 | 28 | |
29 | 29 | static function newFromLinksTo( &$title ) { |
| 30 | + global $wgMaxSquidPurgeTitles; |
30 | 31 | wfProfileIn( __METHOD__ ); |
31 | 32 | |
32 | 33 | # Get a list of URLs linking to this page |
— | — | @@ -38,7 +39,7 @@ |
39 | 40 | 'pl_from=page_id' ), |
40 | 41 | __METHOD__ ); |
41 | 42 | $blurlArr = $title->getSquidURLs(); |
42 | | - if ( $dbr->numRows( $res ) <= $this->mMaxTitles ) { |
| 43 | + if ( $dbr->numRows( $res ) <= $wgMaxSquidPurgeTitles ) { |
43 | 44 | while ( $BL = $dbr->fetchObject ( $res ) ) |
44 | 45 | { |
45 | 46 | $tobj = Title::makeTitle( $BL->page_namespace, $BL->page_title ) ; |