From 50f55feae0f17ad6e27d04612c8ee0f61980f428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B9=96=E4=B8=AD=E6=B2=89?= <341936031@qq.com>
Date: Sun, 21 Mar 2021 11:10:22 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=8F=92=E4=BB=B6=E5=BA=93?=
=?UTF-8?q?=EF=BC=8C=E7=94=B1=E4=BA=8EXML=E8=AF=AD=E8=A8=80=E5=8C=85?=
=?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7?=
=?UTF-8?q?=E4=B8=BA2.1.2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../source/plugin/qqconnect/connect.class.php | 10 +--
.../qqconnect/discuz_plugin_qqconnect.xml | 84 ++++++++++++++++++-
upload/source/plugin/qqconnect/install.php | 1 -
3 files changed, 84 insertions(+), 11 deletions(-)
diff --git a/upload/source/plugin/qqconnect/connect.class.php b/upload/source/plugin/qqconnect/connect.class.php
index e8793d6e4..3e863597d 100644
--- a/upload/source/plugin/qqconnect/connect.class.php
+++ b/upload/source/plugin/qqconnect/connect.class.php
@@ -100,7 +100,7 @@ class plugin_qqconnect extends plugin_qqconnect_base {
function global_login_extra() {
global $_G;
- if(!$this->allow || $_G['inshowmessage']) {
+ if(!$this->allow) {
return;
}
return tpl_global_login_extra();
@@ -275,14 +275,6 @@ class mobileplugin_qqconnect extends plugin_qqconnect_base {
$this->common_base();
}
- function global_footer_mobile() {
- global $_G;
-
- if(!$this->allow || !empty($_G['inshowmessage'])) {
- return;
- }
- }
-
}
class mobileplugin_qqconnect_member extends mobileplugin_qqconnect {
diff --git a/upload/source/plugin/qqconnect/discuz_plugin_qqconnect.xml b/upload/source/plugin/qqconnect/discuz_plugin_qqconnect.xml
index 9ae1c039e..ad2704544 100644
--- a/upload/source/plugin/qqconnect/discuz_plugin_qqconnect.xml
+++ b/upload/source/plugin/qqconnect/discuz_plugin_qqconnect.xml
@@ -11,7 +11,7 @@
-
+
-
-
@@ -134,6 +134,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/upload/source/plugin/qqconnect/install.php b/upload/source/plugin/qqconnect/install.php
index 98bdb4417..4c5470450 100644
--- a/upload/source/plugin/qqconnect/install.php
+++ b/upload/source/plugin/qqconnect/install.php
@@ -115,7 +115,6 @@ CREATE TABLE IF NOT EXISTS `pre_connect_disktask` (
KEY `status` (`status`)
) TYPE=MyISAM;
-
REPLACE INTO pre_common_setting VALUES ('regconnect', '1');
EOF;
--
Gitee