diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-08-08 14:15:30 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-08-08 14:15:30 +0200 |
commit | 8799df8ccdb09114b14742e0493a8ba401688fdf (patch) | |
tree | 409a1ab486023d2c23807a1b37be11ed809a3ff7 /program/steps/addressbook/func.inc | |
parent | bc94e296e74ab4a3313a3f807b0a5cc40f264879 (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.inc | 1 |
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', |