summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-08 14:15:30 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-08 14:15:30 +0200
commit8799df8ccdb09114b14742e0493a8ba401688fdf (patch)
tree409a1ab486023d2c23807a1b37be11ed809a3ff7 /program/steps/addressbook/func.inc
parentbc94e296e74ab4a3313a3f807b0a5cc40f264879 (diff)
Fix redundant SQL query on contact photo request after photo upload.
The query was also invalid in case of uploading photo in contact create form. Move contact photo handling from show.inc into a separate file.
Diffstat (limited to 'program/steps/addressbook/func.inc')
-rw-r--r--program/steps/addressbook/func.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index 8ec581f9a..034f033c9 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -893,7 +893,6 @@ $OUTPUT->add_handlers(array(
// register action aliases
$RCMAIL->register_action_map(array(
'add' => 'edit.inc',
- 'photo' => 'show.inc',
'group-create' => 'groups.inc',
'group-rename' => 'groups.inc',
'group-delete' => 'groups.inc',