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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user