Small cleanup in extension manager

This commit is contained in:
Franz Liedke 2015-09-16 08:56:27 +02:00
parent 91a31e0149
commit 8b73582b8f

View File

@ -76,9 +76,9 @@ class ExtensionManager
{
$this->disable($extension);
$class = $this->load($extension);
$this->load($extension);
$this->migrate($extension, false);
$this->migrateDown($extension);
}
public function migrate($extension, $up = true)
@ -96,6 +96,11 @@ class ExtensionManager
}
}
public function migrateDown($extension)
{
$this->migrate($extension, false);
}
public function getMigrator()
{
return $this->migrator;