mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-14 21:56:39 +02:00
Merge pull request #4285 from CHItA/ticket/14590
[ticket/14590] Prevent refresh requests after the last tasks in modules
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user