diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-12-10 15:27:19 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-12-10 15:27:19 +0000 |
| commit | 7a790a51bb6acd65b193660367c8af3629256907 (patch) | |
| tree | 46a1289f5e2cd9b32906f1ab037c676a829f6e9e /roundcubemail/program/steps/settings/delete_identity.inc | |
| parent | 291aa89005cb17ccbc05a95e6f0e7651230836ed (diff) | |
New class rcube_user + send message disposition notification
git-svn-id: https://svn.roundcube.net/trunk@938 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/delete_identity.inc')
| -rw-r--r-- | roundcubemail/program/steps/settings/delete_identity.inc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/roundcubemail/program/steps/settings/delete_identity.inc b/roundcubemail/program/steps/settings/delete_identity.inc index 3614a3e96..06fdd94f4 100644 --- a/roundcubemail/program/steps/settings/delete_identity.inc +++ b/roundcubemail/program/steps/settings/delete_identity.inc @@ -21,15 +21,8 @@ if (($ids = get_input_value('_iid', RCUBE_INPUT_GET)) && preg_match('/^[0-9]+(,[0-9]+)*$/', $ids)) { - $DB->query( - "UPDATE ".get_table_name('identities')." - SET del=1 - WHERE user_id=? - AND identity_id IN (".$ids.")", - $_SESSION['user_id']); - $count = $DB->affected_rows(); - if ($count) + if ($USER->delete_identity($ids)) $OUTPUT->show_message('deletedsuccessfully', 'confirmation'); // send response |
