mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16955] Clean up filesystem and files classes
PHPBB3-16955
This commit is contained in:
@@ -77,7 +77,7 @@ class file_downloader
|
||||
|
||||
$stream_meta_data = stream_get_meta_data($socket);
|
||||
|
||||
if (!empty($stream_meta_data['timed_out']) || time() >= $timer_stop)
|
||||
if ($stream_meta_data['timed_out'] || time() >= $timer_stop)
|
||||
{
|
||||
throw new \phpbb\exception\runtime_exception('FSOCK_TIMEOUT');
|
||||
}
|
||||
|
Reference in New Issue
Block a user