Disable plugins which have conflicts
This commit is contained in:
parent
f7f0d9e3ec
commit
061c9d7f56
@ -107,7 +107,7 @@ class PluginManager
|
||||
|
||||
$plugin = new Plugin($directory, $manifest);
|
||||
$plugins->put($name, $plugin);
|
||||
if ($this->getUnsatisfied($plugin)->isNotEmpty()) {
|
||||
if ($this->getUnsatisfied($plugin)->isNotEmpty() || $this->getConflicts($plugin)->isNotEmpty()) {
|
||||
$this->disable($plugin);
|
||||
}
|
||||
if ($this->enabled->has($name)) {
|
||||
|
Loading…
Reference in New Issue
Block a user