fix: active message while database exists

This commit is contained in:
Emil Zhai 2022-12-09 03:11:42 +00:00
parent bbd6f043f0
commit 42b5413e4b
No known key found for this signature in database
GPG Key ID: 780B385DB72F1EBD

View File

@ -127,6 +127,8 @@ class Access_Plugin implements Typecho_Plugin_Interface
}
}
$msg = _t('成功创建数据表,插件启用成功,') . $configLink;
} else {
$msg = _t('数据表已存在,插件启用成功,') . $configLink;
}
return $msg;
} catch (Typecho_Db_Exception $e) {