Skip to content

Commit

Permalink
remove latestDoners call from refresh tool
Browse files Browse the repository at this point in the history
  • Loading branch information
gbirke committed Nov 27, 2015
1 parent 9ce9123 commit ab0530c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion inc/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function banner($banners, $id, $text = NULL) {
}
?>
<br style="clear:right"/>
</div>
</div>
<?php
}

Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
}
?>
<div id="search_suggest"></div>
<p>&nbsp;</p>
<p>&nbsp;</p>

<!--<p>Fehlermeldungen? Verbesserungsvorschl&auml;ge?<br />Wir freuen uns auf <a href="http://meta.wikimedia.org/wiki/Wikipedia.de">R&uuml;ckmeldungen</a>.</p>-->
</div> <!-- maincontent -->
</div> <!-- mainbox -->
Expand Down
12 changes: 0 additions & 12 deletions tools/refresh.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,3 @@
$bannerbox->tracing = 'cli';
$bannerbox->refetch_pages(); //re-fetching of images is implicit!
}

if (!empty($wbRipCache) && !empty($wbPageCacheList)) {
$items = $wbPageCacheList->items();

foreach ( $items as $item ) {
if ( $item[0] == 'donors' ) {
$max = (int)$item[1];

getLatestDonors($max, $purge);
}
}
}

0 comments on commit ab0530c

Please sign in to comment.