mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Move methods from Story provider to controller
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
use Alchemy\Phrasea\CLI;
|
||||
|
||||
return call_user_func(function (CLI $cli) {
|
||||
$app = $cli;
|
||||
$app = $cli; if ($app['plugins.manager']->isEnabled('web-gallery-plugin')) {
|
||||
$cli->command(Alchemy\WebGallery\Command\InstallCommand::create()); $cli->command(Alchemy\WebGallery\Command\UninstallCommand::create()); $cli->command(Alchemy\WebGallery\Command\UpdateCommand::create()); }
|
||||
|
||||
return $cli;
|
||||
}, $cli);
|
||||
|
Reference in New Issue
Block a user