aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module/install_database
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2016-02-12 23:30:32 +0100
committerMate Bartus <mate.bartus@gmail.com>2016-02-12 23:30:32 +0100
commit2efceffaebd96fd6d092c4be8c854a7bcf032592 (patch)
treef52836125199b62fb8430788b0deca3fc56567ef /phpBB/phpbb/install/module/install_database
parent97d128a7e4702b5a28b223b177a0e182e3b79080 (diff)
downloadforums-2efceffaebd96fd6d092c4be8c854a7bcf032592.tar
forums-2efceffaebd96fd6d092c4be8c854a7bcf032592.tar.gz
forums-2efceffaebd96fd6d092c4be8c854a7bcf032592.tar.bz2
forums-2efceffaebd96fd6d092c4be8c854a7bcf032592.tar.xz
forums-2efceffaebd96fd6d092c4be8c854a7bcf032592.zip
[ticket/14462] Fix comments
PHPBB3-14462
Diffstat (limited to 'phpBB/phpbb/install/module/install_database')
-rw-r--r--phpBB/phpbb/install/module/install_database/task/add_config_settings.php2
-rw-r--r--phpBB/phpbb/install/module/install_database/task/add_default_data.php2
-rw-r--r--phpBB/phpbb/install/module/install_database/task/add_tables.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/install/module/install_database/task/add_config_settings.php b/phpBB/phpbb/install/module/install_database/task/add_config_settings.php
index 5fd99638c2..20b7679ec1 100644
--- a/phpBB/phpbb/install/module/install_database/task/add_config_settings.php
+++ b/phpBB/phpbb/install/module/install_database/task/add_config_settings.php
@@ -329,7 +329,7 @@ class add_config_settings extends \phpbb\install\task_base
$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)
{
break;
diff --git a/phpBB/phpbb/install/module/install_database/task/add_default_data.php b/phpBB/phpbb/install/module/install_database/task/add_default_data.php
index dd1829e6ed..f5157637ee 100644
--- a/phpBB/phpbb/install/module/install_database/task/add_default_data.php
+++ b/phpBB/phpbb/install/module/install_database/task/add_default_data.php
@@ -112,7 +112,7 @@ class add_default_data extends \phpbb\install\task_base
$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)
{
break;
diff --git a/phpBB/phpbb/install/module/install_database/task/add_tables.php b/phpBB/phpbb/install/module/install_database/task/add_tables.php
index a0b19950be..f344f91582 100644
--- a/phpBB/phpbb/install/module/install_database/task/add_tables.php
+++ b/phpBB/phpbb/install/module/install_database/task/add_tables.php
@@ -114,7 +114,7 @@ class add_tables extends \phpbb\install\task_base
$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)
{
break;