1
0
mirror of https://github.com/flarum/core.git synced 2025-02-24 19:23:01 +01:00

Merge branch 'master' into patch-2

This commit is contained in:
David Sevilla Martín 2018-03-19 18:20:11 -04:00 committed by GitHub
commit a70e6e639c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ use Flarum\Extension\ExtensionManager;
use Flarum\Http\Controller\ControllerInterface;
use Flarum\User\AssertPermissionTrait;
use Psr\Http\Message\ServerRequestInterface;
use Zend\Diactoros\Response\EmptyResponse;
class UpdateExtensionController implements ControllerInterface
{
@ -48,5 +49,7 @@ class UpdateExtensionController implements ControllerInterface
} elseif ($enabled === false) {
$this->extensions->disable($name);
}
return new EmptyResponse;
}
}