Address some php8.3 errors from optional parameter declarations.
This commit is contained in:
parent
5c69415fb1
commit
e19661f9bd
|
@ -23,9 +23,6 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
function message_parse($rawmessage)
|
||||
{
|
||||
|
@ -566,7 +563,6 @@ function show_header_short($head, $group, $local_poster = false)
|
|||
global $article_show, $text_header, $file_article, $file_thread, $attachment_show;
|
||||
global $file_attachment, $CONFIG, $config_name, $sitelink;
|
||||
global $OVERRIDES;
|
||||
|
||||
if (isset($OVERRIDES['short_header_show_from_in_subject']) && $OVERRIDES['short_header_show_from_in_subject'] == true) {
|
||||
show_header_short_with_subject($head, $group, $local_poster);
|
||||
return;
|
||||
|
|
|
@ -414,7 +414,7 @@ function check_rate_limit($name, $set = 0, $gettime = 0)
|
|||
* $ref: The references of the article
|
||||
* $body: The article itself
|
||||
*/
|
||||
function message_post($subject, $from, $newsgroups, $ref, $body, $encryptthis = null, $encryptto = null, $authname = null, $fromname, $followupto = null, $do_attach = null)
|
||||
function message_post($subject, $from, $newsgroups, $ref, $body, $encryptthis, $encryptto, $authname, $fromname, $followupto = null, $do_attach = null)
|
||||
{
|
||||
global $server, $port, $send_poster_host, $text_error, $CONFIG, $OVERRIDES;
|
||||
global $www_charset, $config_dir, $spooldir, $logdir, $enable_post_log, $name;
|
||||
|
|
|
@ -863,7 +863,7 @@ function thread_format_lastmessage($c, $group = '')
|
|||
* Displays a part of the thread. This function is recursively called
|
||||
* It is used by thread_show
|
||||
*/
|
||||
function thread_show_recursive(&$headers, &$liste, $depth, $tree, $group, $article_first = 0, $article_last = 0, &$article_count, $highlight = false, $lastmessage = 1)
|
||||
function thread_show_recursive(&$headers, &$liste, $depth, $tree, $group, $article_first, $article_last, &$article_count, $highlight = false, $lastmessage = 1)
|
||||
{
|
||||
global $thread_treestyle;
|
||||
global $thread_show, $imgdir;
|
||||
|
|
Loading…
Reference in New Issue