mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
ffcde0c95a
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ abstract class module_base implements module_interface
|
||||||
$this->iohandler->send_response();
|
$this->iohandler->send_response();
|
||||||
|
|
||||||
// Stop execution if resource limit is reached
|
// Stop execution if resource limit is reached
|
||||||
if ($this->install_config->get_time_remaining() <= 0 || $this->install_config->get_memory_remaining() <= 0)
|
if ($iterator->valid() && ($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