1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16649] Changes for Symfony 5

PHPBB3-16649
This commit is contained in:
rubencm
2020-12-07 03:54:52 +01:00
committed by rxu
parent 19b12bf6ee
commit 157a8aca01
14 changed files with 22 additions and 20 deletions

View File

@@ -14,6 +14,7 @@
namespace phpbb\console\command\cron;
use phpbb\exception\runtime_exception;
use Symfony\Component\Console\Command\Command as symfony_command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Output\OutputInterface;
@@ -90,7 +91,8 @@ class run extends \phpbb\console\command\command
}
$this->lock_db->release();
return $exit_status;
return !$exit_status ? symfony_command::SUCCESS : symfony_command::FAILURE;
}
else
{