removed now unnecessary and not used lavatar parameter, as it caused multiple requests to same picture because auf different urls

This commit is contained in:
ralf 2023-02-01 08:43:07 +01:00
parent cce1088486
commit dba604ca59

View File

@ -802,7 +802,6 @@ class Contacts extends Contacts\Storage
//error_log(__METHOD__."($id, ..., etag=$etag) ". function_backtrace()); //error_log(__METHOD__."($id, ..., etag=$etag) ". function_backtrace());
return $jpeg || !$default ? Egw::link('/api/avatar.php', array( return $jpeg || !$default ? Egw::link('/api/avatar.php', array(
'contact_id' => $id, 'contact_id' => $id,
'lavatar' => !$jpeg ? true : false
)+(isset($etag) ? array( )+(isset($etag) ? array(
'etag' => $etag 'etag' => $etag
) : array())) : $default; ) : array())) : $default;