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

[ticket/15769] Minor clean up of avatar cropping

PHPBB3-15769
This commit is contained in:
mrgoldy
2020-05-10 00:39:54 +02:00
committed by Marc Alexander
parent 4d860bf967
commit 0bff9e605b
2 changed files with 4 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ use phpbb\storage\exception\exception as storage_exception;
use phpbb\storage\storage;
/**
* Handles avatars uploaded to the board
* Handles avatars uploaded to the board.
*/
class upload extends \phpbb\avatar\driver\driver
{
@@ -241,7 +241,6 @@ class upload extends \phpbb\avatar\driver\driver
*/
public function delete($row)
{
$error = array();
$prefix = $this->config['avatar_salt'] . '_';
$ext = substr(strrchr($row['avatar'], '.'), 1);