From 825c4679551854f48c6c6b67e5c5b7f7322d24d2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Jun 2010 20:25:59 +0200 Subject: improves previous, add active field to pearrepo table --- refresh.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'refresh.php') 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"]); -- cgit