mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Disable prism if old version
This commit is contained in:
@@ -164,6 +164,11 @@ namespace BTCPayServer.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
|
||||
{
|
||||
logger.LogInformation(
|
||||
|
||||
Reference in New Issue
Block a user