dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f23e6
)
Follow up r21799. Fix usage of $this in static method.
author
Platonides
<platonides@users.mediawiki.org>
Mon, 26 Jul 2010 20:51:33 +0000
(20:51 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Mon, 26 Jul 2010 20:51:33 +0000
(20:51 +0000)
includes/SquidUpdate.php
patch
|
blob
|
history
diff --git
a/includes/SquidUpdate.php
b/includes/SquidUpdate.php
index
6651771
..
8944df8
100644
(file)
--- a/
includes/SquidUpdate.php
+++ b/
includes/SquidUpdate.php
@@
-26,6
+26,7
@@
class SquidUpdate {
}
static function newFromLinksTo( &$title ) {
+ global $wgMaxSquidPurgeTitles;
wfProfileIn( __METHOD__ );
# Get a list of URLs linking to this page
@@
-38,7
+39,7
@@
class SquidUpdate {
'pl_from=page_id' ),
__METHOD__ );
$blurlArr = $title->getSquidURLs();
- if ( $dbr->numRows( $res ) <= $
this->mMax
Titles ) {
+ if ( $dbr->numRows( $res ) <= $
wgMaxSquidPurge
Titles ) {
while ( $BL = $dbr->fetchObject ( $res ) )
{
$tobj = Title::makeTitle( $BL->page_namespace, $BL->page_title ) ;