summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-03 11:18:06 +0000
committeralecpl <alec@alec.pl>2008-09-03 11:18:06 +0000
commit97e9d16e30de446fe04c9963997e336d432046ef (patch)
tree5175f4ae7107ad8418ff23fa90d68a631d74018f /program
parent2a61274761f3a6c79db0a28974f836d8c2a0eee7 (diff)
- r1718 code cleanup
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index b66c89dab..51e6b7dd5 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1168,16 +1168,13 @@ class rcube_imap
/**
- * Fetch attachment filename from message part structure
+ * Set attachment filename from message part structure
*
* @access private
* @param object rcube_message_part Part object
- * @return string Attachment filename
*/
function _set_part_filename(&$part)
{
- // $this->_msg_id
-
if (!empty($part->d_parameters['filename']))
$filename_mime = $part->d_parameters['filename'];
else if (!empty($part->ctype_parameters['name']))