mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 00:58:46 +08:00
Fix extension uninstallation
This commit is contained in:
parent
8c0ce38e78
commit
3655dca371
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user