diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-01-13 08:20:30 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-01-13 08:20:30 +0000 |
| commit | c39d008ec66c5c528f63f760083f7c6d253395db (patch) | |
| tree | 1131eedfbecc11fcdb239f9afc04dc356809d70b /plugins/enigma | |
| parent | 255033a27f13b7d6ffbd0e1079301949d792f185 (diff) | |
- Use storage object
git-svn-id: https://svn.roundcube.net/trunk@5764 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/enigma')
| -rw-r--r-- | plugins/enigma/lib/enigma_engine.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/enigma/lib/enigma_engine.php b/plugins/enigma/lib/enigma_engine.php index 59ae1202c..89cb4b796 100644 --- a/plugins/enigma/lib/enigma_engine.php +++ b/plugins/enigma/lib/enigma_engine.php @@ -503,7 +503,7 @@ class enigma_engine $mime_id = get_input_value('_part', RCUBE_INPUT_POST); if ($uid && $mime_id) { - $part = $this->rc->imap->get_message_part($uid, $mime_id); + $part = $this->rc->storage->get_message_part($uid, $mime_id); } if ($part && is_array($result = $this->import_key($part))) { @@ -512,7 +512,7 @@ class enigma_engine } else $this->rc->output->show_message('enigma.keysimportfailed', 'error'); - + $this->rc->output->send(); } @@ -528,7 +528,7 @@ class enigma_engine // @TODO: Create such function in core // @TODO: Handle big bodies using file handles if (!isset($part->body)) { - $part->body = $this->rc->imap->get_message_part( + $part->body = $this->rc->storage->get_message_part( $uid, $part->mime_id, $part); } } |
