1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16351] Use CHMOD constants from filesystem_interface

PHPBB3-16351
This commit is contained in:
rubencm
2020-02-02 22:00:38 +00:00
parent 7de24bad2e
commit 9749aa936c
7 changed files with 15 additions and 15 deletions

View File

@@ -717,7 +717,7 @@ function create_thumbnail($source, $destination, $mimetype)
try
{
$phpbb_filesystem->phpbb_chmod($destination, CHMOD_READ | CHMOD_WRITE);
$phpbb_filesystem->phpbb_chmod($destination, \phpbb\filesystem\filesystem_interface::CHMOD_READ | \phpbb\filesystem\filesystem_interface::CHMOD_WRITE);
}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{