Reset group pointers when 'importing' group in import-db3.php.
This commit is contained in:
parent
d25b009776
commit
65b8d86e25
|
@ -292,10 +292,10 @@ function import_articles($group) {
|
||||||
$dbh = null;
|
$dbh = null;
|
||||||
unlink($spooldir.'/'.$group.'-articles.db3');
|
unlink($spooldir.'/'.$group.'-articles.db3');
|
||||||
rename($spooldir.'/'.$group.'-articles.db3-new', $spooldir.'/'.$group.'-articles.db3');
|
rename($spooldir.'/'.$group.'-articles.db3-new', $spooldir.'/'.$group.'-articles.db3');
|
||||||
unlink($spooldir.'/'.$group.'-data.dat');
|
|
||||||
unlink($spooldir.'/'.$group.'-info.txt');
|
unlink($spooldir.'/'.$group.'-info.txt');
|
||||||
unlink($spooldir.'/'.$group.'-cache.txt');
|
unlink($spooldir.'/'.$group.'-cache.txt');
|
||||||
unlink($spooldir.'/'.$group.'-lastarticleinfo.dat');
|
unlink($spooldir.'/'.$group.'-lastarticleinfo.dat');
|
||||||
unlink($spooldir.'/'.$group.'-overboard.dat');
|
unlink($spooldir.'/'.$group.'-overboard.dat');
|
||||||
|
reset_group($group);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue