Hi Devs,
I would need a simple patch for
rcube_user.php.
My thought is to introduce ...
/**
* Return a list of all
(incl. deleted) identities linked with this user
*
* @return array List of identities
*/
function list_identities_history($sql_add = '')
{
// get contacts from DB
$sql_result = $this->db->query(
"SELECT
* FROM ".get_table_name('identities')."
WHERE user_id=?
$sql_add
ORDER BY
".$this->db->quoteIdentifier('standard')." DESC, name ASC, identity_id
ASC",
$this->ID);
return $sql_result;
}
Or is there a way to get all identities including
those with "deleted" flag by a plugin in another easy way?
I'm coding an hMail plugin to allow aliased login
which adds the alias automatically to user's identites list.
I want to avoid that the identity
is added again and again even if the user has decided to delete the
automatically added identitiy previously.
Thanks for any advice.
Regards,
Roland