From 4e72c1663eabebb93d1b8f0656b9e6ad74bc0860 Mon Sep 17 00:00:00 2001 From: tianya Date: Mon, 20 Mar 2023 21:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/count.php | 1 - src/system/common.func.php | 10 ---------- src/system/inc/inc_stat.php | 19 ------------------- src/user/templets/menu.htm | 2 +- 4 files changed, 1 insertion(+), 31 deletions(-) delete mode 100755 src/system/inc/inc_stat.php diff --git a/src/apps/count.php b/src/apps/count.php index c3c60b24..791bdf8b 100755 --- a/src/apps/count.php +++ b/src/apps/count.php @@ -28,7 +28,6 @@ if ($cid < 0) { $idtype = 'aid'; } $mid = (isset($mid) && is_numeric($mid)) ? $mid : 0; -//UpdateStat(); if (!empty($maintable)) { $dsql->ExecuteNoneQuery("UPDATE `{$maintable}` SET click=click+1 WHERE {$idtype}='$aid' "); } diff --git a/src/system/common.func.php b/src/system/common.func.php index 9d8627cb..d9c1f10d 100755 --- a/src/system/common.func.php +++ b/src/system/common.func.php @@ -300,16 +300,6 @@ if (!function_exists('file_put_contents')) { } } } -/** - * 显示更新信息 - * - * @return void - */ -function UpdateStat() -{ - include_once(DEDEINC."/inc/inc_stat.php"); - return SpUpdateStat(); -} $arrs1 = array(); $arrs2 = array(); /** diff --git a/src/system/inc/inc_stat.php b/src/system/inc/inc_stat.php deleted file mode 100755 index 3f23059b..00000000 --- a/src/system/inc/inc_stat.php +++ /dev/null @@ -1,19 +0,0 @@ - \ No newline at end of file diff --git a/src/user/templets/menu.htm b/src/user/templets/menu.htm index 5b07b9c7..e0b97a51 100644 --- a/src/user/templets/menu.htm +++ b/src/user/templets/menu.htm @@ -24,7 +24,7 @@ while ($channel = $dsql->GetArray('addmod')) {