mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Update Server.php
This commit is contained in:
parent
5945b3c89d
commit
bfdbbe5bfb
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,6 @@
|
|||
|
||||
namespace Flarum\Console;
|
||||
|
||||
use Flarum\Console\Command\GenerateExtensionCommand;
|
||||
use Flarum\Console\Command\GenerateMigrationCommand;
|
||||
use Flarum\Debug\Console\CacheClearCommand;
|
||||
use Flarum\Debug\Console\InfoCommand;
|
||||
|
@ -33,7 +32,10 @@ class Server extends AbstractServer
|
|||
* @return Application
|
||||
*/
|
||||
protected function getConsoleApplication()
|
||||
{
|
||||
|
||||
|
||||
{
|
||||
|
||||
$app = $this->getApp();
|
||||
$console = new Application('Flarum', $app->version());
|
||||
|
||||
|
@ -42,7 +44,6 @@ class Server extends AbstractServer
|
|||
$commands = [
|
||||
InstallCommand::class,
|
||||
MigrateCommand::class,
|
||||
GenerateExtensionCommand::class,
|
||||
GenerateMigrationCommand::class,
|
||||
];
|
||||
|
||||
|
@ -63,4 +64,3 @@ class Server extends AbstractServer
|
|||
return $console;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue