summaryrefslogtreecommitdiffstats
path: root/refresh.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-06-08 20:25:59 +0200
committerRemi Collet <fedora@famillecollet.com>2010-06-08 20:25:59 +0200
commit825c4679551854f48c6c6b67e5c5b7f7322d24d2 (patch)
treee62a3dce1876ad502fbacf4efeb325a21acca31e /refresh.php
parent3c22a10c40837b1695ae04d120bbfc68da01059c (diff)
improves previous, add active field to pearrepo table
Diffstat (limited to 'refresh.php')
-rw-r--r--refresh.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/refresh.php b/refresh.php
index 7547883..e839e93 100644
--- a/refresh.php
+++ b/refresh.php
@@ -510,8 +510,8 @@ try {
if ($_SERVER['argc']==1 || in_array('R', $_SERVER['argv'])) {
//
$tottot=0;
- $pear = new TableRRepo($db);
- foreach ($pear->request() as $repo) {
+ $rrepo = new TableRRepo($db);
+ foreach ($rrepo->request() as $repo) {
echo date("r : ") . "Reading " . $repo["name"] . " (" .
$repo["state"] . ")\n";
$index = @file_get_contents($repo["url"]);