1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Clean up unused variable

Closes #501.
This commit is contained in:
Franz Liedke
2015-09-24 16:27:00 +02:00
parent f820a62ec9
commit 8e7b056b84

View File

@@ -53,7 +53,7 @@ class ExtensionManager
$enabled[] = $extension;
$class = $this->load($extension);
$this->load($extension);
$this->migrate($extension);
@@ -130,10 +130,8 @@ class ExtensionManager
if (file_exists($file = $this->getExtensionsDir() . '/' . $extension . '/bootstrap.php')) {
$className = require $file;
$class = new $className($this->app);
$ext = new $className($this->app);
}
return $class;
}
protected function getExtensionsDir()