Make sure overboard.php works with tradspool
This commit is contained in:
parent
90db596b9d
commit
6f126108c1
|
@ -109,21 +109,18 @@ foreach($grouplist as $findgroup) {
|
||||||
continue 2;
|
continue 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
$thisgroup = preg_replace('/\./', '/', $findgroup);
|
$thisgroup = preg_replace('/\./', '/', $findgroup);
|
||||||
if (!is_dir($spoolpath.$thisgroup)) {
|
if (!is_dir($spoolpath.$thisgroup)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$stats = stat($spoolpath.$thisgroup);
|
$stats = stat($spoolpath.$thisgroup);
|
||||||
if($stats[9] > $oldest) {
|
if($stats[9] > $oldest) {
|
||||||
*/
|
if($dbh) {
|
||||||
if(1) {
|
$query->execute(['findgroup' => $findgroup]);
|
||||||
if($dbh) {
|
while (($overviewline = $query->fetch()) !== false) {
|
||||||
$query->execute(['findgroup' => $findgroup]);
|
$articles[] = $spoolpath.$thisgroup.'/'.$overviewline['number'];
|
||||||
while (($overviewline = $query->fetch()) !== false) {
|
$db_articles[] = $findgroup.':'.$overviewline['number'].':'.$overviewline['date'];
|
||||||
$articles[] = $spoolpath.$thisgroup.'/'.$overviewline['number'];
|
}
|
||||||
$db_articles[] = $findgroup.':'.$overviewline['number'].':'.$overviewline['date'];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue