mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15699] Rewrite acp_storage
PHPBB3-15699
This commit is contained in:
@@ -1789,7 +1789,7 @@ function avatar_delete($mode, $row, $clean_db = false)
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (\phpbb\storage\exception\exception $e)
|
||||
catch (\phpbb\storage\exception\storage_exception $e)
|
||||
{
|
||||
// Fail is covered by return statement below
|
||||
}
|
||||
@@ -2131,7 +2131,7 @@ function group_correct_avatar($group_id, $old_entry)
|
||||
WHERE group_id = $group_id";
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
catch (\phpbb\storage\exception\exception $e)
|
||||
catch (\phpbb\storage\exception\storage_exception $e)
|
||||
{
|
||||
// If rename fail, dont execute the query
|
||||
}
|
||||
|
Reference in New Issue
Block a user