summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-01-25 14:15:12 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-01-25 14:15:12 +0100
commit13dc9f2c862668554d87dcbf95f2f7bbaf221bf3 (patch)
tree2ba86e5bbfe89539d961aeb5793e6f77b4e94202 /program/steps/addressbook/func.inc
parent1730cf8d7b59c04e3db0b5425c5cd9401bfc1c43 (diff)
Move rcmail_contact_key() to rcube_addressbook::compose_contact_key()
Diffstat (limited to 'program/steps/addressbook/func.inc')
-rw-r--r--program/steps/addressbook/func.inc18
1 files changed, 0 insertions, 18 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index 2f47483de..7fb862d5e 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -733,24 +733,6 @@ function rcmail_format_date_col($val)
}
-function rcmail_contact_key($row, $sort_col)
-{
- $key = $row[$sort_col] . ':' . $row['sourceid'];
-
- // add email to a key to not skip contacts with the same name (#1488375)
- if (!empty($row['email'])) {
- if (is_array($row['email'])) {
- $key .= ':' . implode(':', $row['email']);
- }
- else {
- $key .= ':' . $row['email'];
- }
- }
-
- return $key;
-}
-
-
/**
* Returns contact ID(s) and source(s) from GET/POST data
*