Reverts most of 8231373c80 until I can fix that issue properly.

This commit is contained in:
Retro_Guy 2024-01-03 05:49:16 -07:00
parent 8231373c80
commit 18e7e5eb66
2 changed files with 1 additions and 16 deletions

View File

@ -301,18 +301,7 @@ function thread_load_newsserver(&$ns, $groupname, $poll)
$logfile = $logdir . '/newsportal.log';
$maxfetch = 0;
$idstring = "0.36," . $server . "," . $compress_spoolfiles . "," . $maxarticles . "," . $maxarticles_extra . "," . $maxfetch . "," . $initialfetch . "," . $www_charset . ',' . $iconv_enable . ',' . $thread_show["replies"];
if ($CONFIG['enable_nntp'] == '1') {
$overviewfmt = array(
"Subject:",
"From:",
"Date:",
"Message-ID:",
"References:",
"Bytes:"
);
} else {
$overviewformat = thread_overview_read($ns);
}
$overviewformat = thread_overview_read($ns);
$spoolfilename = $spooldir . '/' . $groupname . '-data.db3';
fputs($ns, "GROUP $groupname\r\n"); // select a group
$groupinfo = explode(" ", line_read($ns));

View File

@ -24,10 +24,6 @@ include "config.inc.php";
include ("$file_newsportal");
include $config_dir . '/gpg.conf';
set_error_handler(function (int $number, string $message) {
echo "Handler captured error $number: '$message'" . PHP_EOL;
});
if ($CONFIG['remote_server'] != '') {
$remote_groupfile = $spooldir . "/" . $config_name . "/" . $CONFIG['remote_server'] . ":" . $CONFIG['remote_port'] . ".txt";
}