diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-09-24 15:40:17 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-09-24 15:40:17 +0200 |
commit | 5f8406c76a1efdc50e5613a49ca10b86873fa436 (patch) | |
tree | ef206d3df2f85be4c7d669082c7a13ace13edc0d | |
parent | 4bf16f47403144c6804446d03d9d99a38e78eacb (diff) |
s/rcube/rcmail/ for compatibility with the 0.8 series
-rw-r--r-- | plugins/zipdownload/zipdownload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/zipdownload/zipdownload.php b/plugins/zipdownload/zipdownload.php index be4ece476..8bad9b341 100644 --- a/plugins/zipdownload/zipdownload.php +++ b/plugins/zipdownload/zipdownload.php @@ -22,7 +22,7 @@ class zipdownload extends rcube_plugin { // check requirements first if (!class_exists('ZipArchive', false)) { - rcube::raise_error(array( + rcmail::raise_error(array( 'code' => 520, 'type' => 'php', 'file' => __FILE__, 'line' => __LINE__, 'message' => "php_zip extension is required for the zipdownload plugin"), true, false); @@ -70,7 +70,7 @@ class zipdownload extends rcube_plugin ); // append link to attachments list, slightly different in some skins - switch (rcube::get_instance()->config->get('skin')) { + switch (rcmail::get_instance()->config->get('skin')) { case 'classic': $p['content'] = str_replace('</ul>', html::tag('li', array('class' => 'zipdownload'), $link) . '</ul>', $p['content']); break; |