mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
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:
parent
cce1088486
commit
dba604ca59
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user