Permalink
Browse files

s/rcube/rcmail/ for compatibility with the 0.8 series

  • Loading branch information...
thomascube committed Sep 24, 2012
1 parent 4bf16f4 commit 5f8406c76a1efdc50e5613a49ca10b86873fa436
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/zipdownload/zipdownload.php
@@ -22,7 +22,7 @@ public function init()
{
// 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 @@ public function attachment_ziplink($p)
);
// 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;

0 comments on commit 5f8406c

Please sign in to comment.