Fix extension uninstallation

This commit is contained in:
Toby Zerner 2015-10-11 22:29:25 +10:30
parent 8c0ce38e78
commit 3655dca371

View File

@ -35,7 +35,7 @@ class UninstallExtensionController extends AbstractDeleteController
{
$this->assertAdmin($request->getAttribute('actor'));
$name = array_get($request->getParsedBody(), 'name');
$name = array_get($request->getQueryParams(), 'name');
$this->extensions->disable($name);
$this->extensions->uninstall($name);