1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16705] Fix check_disk_space function

Allow upload even if the check fails

PHPBB3-16705
This commit is contained in:
3D-I
2021-03-05 08:02:53 +01:00
parent 2ea22ee387
commit 5d18ad678b
2 changed files with 0 additions and 11 deletions

View File

@@ -317,16 +317,6 @@ class upload
return false;
}
}
else
{
$this->file_data['error'][] = $this->language->lang('ATTACH_DISK_FREE_SPACE');
$this->file_data['post_attach'] = false;
$this->file->remove();
return false;
}
return true;
}