Remove filemtime checking in overboard to work properly with article_database
This commit is contained in:
parent
f4fa4a855d
commit
e15a2cf97d
|
@ -110,11 +110,6 @@ foreach($grouplist as $findgroup) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$thisgroup = preg_replace('/\./', '/', $findgroup);
|
$thisgroup = preg_replace('/\./', '/', $findgroup);
|
||||||
if (!is_dir($spoolpath.$thisgroup)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$stats = stat($spoolpath.$thisgroup);
|
|
||||||
if($stats[9] > $oldest) {
|
|
||||||
if($dbh) {
|
if($dbh) {
|
||||||
$query->execute(['findgroup' => $findgroup]);
|
$query->execute(['findgroup' => $findgroup]);
|
||||||
while (($overviewline = $query->fetch()) !== false) {
|
while (($overviewline = $query->fetch()) !== false) {
|
||||||
|
@ -122,7 +117,6 @@ foreach($grouplist as $findgroup) {
|
||||||
$db_articles[] = $findgroup.':'.$overviewline['number'].':'.$overviewline['date'];
|
$db_articles[] = $findgroup.':'.$overviewline['number'].':'.$overviewline['date'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
$dbh = null;
|
$dbh = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue