Resolved enabled extension test

The getEnabled method returns all extensions (previously) enabled, yet manually
uninstalled through composer. This does not reference the exact, current state
of the forum. getEnabledExtensions returns a list where the getEnabled list
is filtered on the extensions found in the composer installed.json file.
This commit is contained in:
Daniël Klabbers 2020-03-25 11:47:39 +01:00
parent 84dafdd5c3
commit 13e20c2ced

View File

@ -316,7 +316,7 @@ class ExtensionManager
*/
public function isEnabled($extension)
{
return in_array($extension, $this->getEnabled());
return in_array($extension, $this->getEnabledExtensions());
}
/**