From 9b36c1fc64d640652d153def6fdb18fdcd42ba71 Mon Sep 17 00:00:00 2001 From: splitbrain Date: Mon, 13 Nov 2023 15:56:26 +0000 Subject: [PATCH] =?utf8?q?=F0=9F=A4=96=20Rector=20and=20PHPCS=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- inc/template.php | 6 +----- lib/plugins/extension/cli.php | 7 ++++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/inc/template.php b/inc/template.php index 3fc82155b..a7ca32e44 100644 --- a/inc/template.php +++ b/inc/template.php @@ -1004,15 +1004,11 @@ function tpl_pagetitle($id = null, $ret = false) case 'profile': case 'register': case 'resendpwd': + case 'index': $page_title = $lang['btn_' . $ACT]; break; - // wiki functions case 'search': - case 'index': - $page_title = $lang['btn_' . $ACT]; - break; - // page functions case 'edit': case 'preview': diff --git a/lib/plugins/extension/cli.php b/lib/plugins/extension/cli.php index 4e6200ba2..019b8d606 100644 --- a/lib/plugins/extension/cli.php +++ b/lib/plugins/extension/cli.php @@ -1,5 +1,6 @@