mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Disable prism if old version
This commit is contained in:
@@ -164,6 +164,11 @@ namespace BTCPayServer.Plugins
|
|||||||
|
|
||||||
foreach (var plugin in plugins)
|
foreach (var plugin in plugins)
|
||||||
{
|
{
|
||||||
|
if (plugin.Identifier == "BTCPayServer.Plugins.Prism" && plugin.Version <= new Version("1.1.18"))
|
||||||
|
{
|
||||||
|
logger.LogWarning("Please update your prism plugin, this version is incompatible");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
logger.LogInformation(
|
logger.LogInformation(
|
||||||
|
|||||||
Reference in New Issue
Block a user