mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Merge pull request #402 from johannsa/master
Fixes enable extension in EntensionManager
This commit is contained in:
commit
25141c0f2f
|
@ -49,6 +49,8 @@ class ExtensionManager
|
|||
public function enable($extension)
|
||||
{
|
||||
if (! $this->isEnabled($extension)) {
|
||||
$enabled = $this->getEnabled();
|
||||
|
||||
$enabled[] = $extension;
|
||||
|
||||
$class = $this->load($extension);
|
||||
|
|
Loading…
Reference in New Issue
Block a user