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