diff options
author | thomascube <thomas@roundcube.net> | 2012-01-18 11:10:46 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-18 11:10:46 +0000 |
commit | 7fe3811c65a7c63154f03610e289a6d196f3ae2e (patch) | |
tree | 2c916daa970bd8b5ccc732f80b2bbd3fb351f466 /program/steps/mail/sendmail.inc | |
parent | e52aaee0633bf76b5850eaed6aff4590436a4432 (diff) |
Changed license to GNU GPLv3+ with exceptions for skins and plugins
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 520724e8a..0c143058b 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -6,7 +6,10 @@ | | | This file is part of the Roundcube Webmail client | | Copyright (C) 2005-2011, The Roundcube Dev Team | - | Licensed under the GNU GPL | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | | PURPOSE: | | Compose a new mail message with all headers and attachments | @@ -711,7 +714,7 @@ if ($store_target) { $delete_idx = $RCMAIL->storage->search_once($CONFIG['drafts_mbox'], 'HEADER Message-ID '.$olddraftmessageid); - if ($del_uid = $delete_idx->get_element('FIRST')) { + if ($del_uid = $delete_idx->getElement('FIRST')) { $deleted = $RCMAIL->storage->delete_message($del_uid, $CONFIG['drafts_mbox']); // raise error if deletion of old draft failed @@ -734,7 +737,7 @@ if ($savedraft) { // remember new draft-uid ($saved could be an UID or TRUE here) if (is_bool($saved)) { $draft_idx = $RCMAIL->storage->search_once($CONFIG['drafts_mbox'], 'HEADER Message-ID '.$msgid); - $saved = $draft_idx->get_element('FIRST'); + $saved = $draft_idx->getElement('FIRST'); } $COMPOSE['param']['draft_uid'] = $saved; |