Remove filemtime checking in overboard to work properly with article_database

This commit is contained in:
Retro_Guy 2021-02-20 23:08:17 -07:00
parent f4fa4a855d
commit e15a2cf97d
1 changed files with 0 additions and 6 deletions

View File

@ -110,11 +110,6 @@ foreach($grouplist as $findgroup) {
}
}
$thisgroup = preg_replace('/\./', '/', $findgroup);
if (!is_dir($spoolpath.$thisgroup)) {
continue;
}
$stats = stat($spoolpath.$thisgroup);
if($stats[9] > $oldest) {
if($dbh) {
$query->execute(['findgroup' => $findgroup]);
while (($overviewline = $query->fetch()) !== false) {
@ -122,7 +117,6 @@ foreach($grouplist as $findgroup) {
$db_articles[] = $findgroup.':'.$overviewline['number'].':'.$overviewline['date'];
}
}
}
}
$dbh = null;