Merge pull request #8727 from crobibero/disable-auto-update
Don't auto-update if plugin is pending restart
This commit is contained in:
commit
f3ac9ba465
|
@ -715,6 +715,7 @@ namespace Emby.Server.Implementations.Plugins
|
||||||
{
|
{
|
||||||
// This value is memory only - so that the web will show restart required.
|
// This value is memory only - so that the web will show restart required.
|
||||||
plugin.Manifest.Status = PluginStatus.Restart;
|
plugin.Manifest.Status = PluginStatus.Restart;
|
||||||
|
plugin.Manifest.AutoUpdate = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -729,6 +730,7 @@ namespace Emby.Server.Implementations.Plugins
|
||||||
|
|
||||||
// This value is memory only - so that the web will show restart required.
|
// This value is memory only - so that the web will show restart required.
|
||||||
plugin.Manifest.Status = PluginStatus.Restart;
|
plugin.Manifest.Status = PluginStatus.Restart;
|
||||||
|
plugin.Manifest.AutoUpdate = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user