mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/14039] Revamp updater
PHPBB3-14039
This commit is contained in:
@@ -115,7 +115,7 @@ abstract class module_base implements module_interface
|
||||
foreach ($this->task_collection as $name => $task)
|
||||
{
|
||||
// Run until there are available resources
|
||||
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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user