diff options
| author | Mate Bartus <mate.bartus@gmail.com> | 2015-07-21 14:42:15 +0200 |
|---|---|---|
| committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-21 14:42:15 +0200 |
| commit | b2b9fb1df2e6d37c8a327b7b6c380f19e1ff6496 (patch) | |
| tree | f279a46f8da3f4320ac157d8e909f042cf33edea /phpBB/phpbb/install/console/command | |
| parent | 0488c49116f77de55da3ddf36aa2b08f6a5fd085 (diff) | |
| download | forums-b2b9fb1df2e6d37c8a327b7b6c380f19e1ff6496.tar forums-b2b9fb1df2e6d37c8a327b7b6c380f19e1ff6496.tar.gz forums-b2b9fb1df2e6d37c8a327b7b6c380f19e1ff6496.tar.bz2 forums-b2b9fb1df2e6d37c8a327b7b6c380f19e1ff6496.tar.xz forums-b2b9fb1df2e6d37c8a327b7b6c380f19e1ff6496.zip | |
[ticket/13740] Fix CS and docblocks
PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/console/command')
| -rw-r--r-- | phpBB/phpbb/install/console/command/install/install.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/phpbb/install/console/command/install/install.php b/phpBB/phpbb/install/console/command/install/install.php index e9b4192ded..81ad1039f6 100644 --- a/phpBB/phpbb/install/console/command/install/install.php +++ b/phpBB/phpbb/install/console/command/install/install.php @@ -110,13 +110,15 @@ class install extends \phpbb\console\command\command if ($this->install_helper->is_phpbb_installed()) { $iohandler->add_error_message('PHPBB_ALREADY_INSTALLED'); + + return 1; } if (!is_file($config_file)) { $iohandler->add_error_message(array('MISSING_FILE', array($config_file))); - return; + return 1; } try @@ -127,7 +129,7 @@ class install extends \phpbb\console\command\command { $iohandler->add_error_message('INVALID_YAML_FILE'); - return; + return 1; } $processor = new Processor(); @@ -141,7 +143,7 @@ class install extends \phpbb\console\command\command { $iohandler->add_error_message('INVALID_CONFIGURATION', $e->getMessage()); - return; + return 1; } $this->register_configuration($iohandler, $config); @@ -153,7 +155,7 @@ class install extends \phpbb\console\command\command catch (installer_exception $e) { $iohandler->add_error_message($e->getMessage()); - return; + return 1; } } |
