mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/14462] Fix comments
PHPBB3-14462
This commit is contained in:
parent
97d128a7e4
commit
2efceffaeb
7 changed files with 11 additions and 11 deletions
|
@ -284,7 +284,7 @@ class installer
|
||||||
}
|
}
|
||||||
catch (cannot_build_container_exception $e)
|
catch (cannot_build_container_exception $e)
|
||||||
{
|
{
|
||||||
// Do not do anything, this is just means there is no config.php yet
|
// Do not do anything, this just means there is no config.php yet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -229,7 +229,7 @@ class add_bots extends \phpbb\install\task_base
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -243,7 +243,7 @@ class add_modules extends \phpbb\install\task_base
|
||||||
|
|
||||||
$k++;
|
$k++;
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
$timed_out = true;
|
$timed_out = true;
|
||||||
|
@ -300,7 +300,7 @@ class add_modules extends \phpbb\install\task_base
|
||||||
|
|
||||||
$k++;
|
$k++;
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
$timed_out = true;
|
$timed_out = true;
|
||||||
|
@ -310,7 +310,7 @@ class add_modules extends \phpbb\install\task_base
|
||||||
|
|
||||||
$this->config->set('module_info_index', $k);
|
$this->config->set('module_info_index', $k);
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($timed_out)
|
if ($timed_out)
|
||||||
{
|
{
|
||||||
throw new resource_limit_reached_exception();
|
throw new resource_limit_reached_exception();
|
||||||
|
@ -322,7 +322,7 @@ class add_modules extends \phpbb\install\task_base
|
||||||
$this->order_modules($module_class);
|
$this->order_modules($module_class);
|
||||||
$this->config->set('modules_ordered', true);
|
$this->config->set('modules_ordered', true);
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
throw new resource_limit_reached_exception();
|
throw new resource_limit_reached_exception();
|
||||||
|
@ -348,7 +348,7 @@ class add_modules extends \phpbb\install\task_base
|
||||||
$this->config->set('modules_ordered', false);
|
$this->config->set('modules_ordered', false);
|
||||||
$this->config->set('module_categories_array', array());
|
$this->config->set('module_categories_array', array());
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -329,7 +329,7 @@ class add_config_settings extends \phpbb\install\task_base
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -112,7 +112,7 @@ class add_default_data extends \phpbb\install\task_base
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -114,7 +114,7 @@ class add_tables extends \phpbb\install\task_base
|
||||||
$table_data
|
$table_data
|
||||||
);
|
);
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
if ($this->config->get_time_remaining() <= 0 || $this->config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -171,7 +171,7 @@ abstract class module_base implements module_interface
|
||||||
|
|
||||||
$this->iohandler->send_response();
|
$this->iohandler->send_response();
|
||||||
|
|
||||||
// Run until there are available resources
|
// Stop execution if resource limit is reached
|
||||||
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
||||||
{
|
{
|
||||||
throw new resource_limit_reached_exception();
|
throw new resource_limit_reached_exception();
|
||||||
|
|
Loading…
Add table
Reference in a new issue