Aleksander Machniak
2013-06-19 4e12fd5c82b9e299a9eb91bb6e0bb09c47090a16
Fix so attachment_reminder=false really disables the reminder action
1 files modified
8 ■■■■■ changed files
plugins/attachment_reminder/attachment_reminder.php 8 ●●●●● patch | view | raw | blame | history
plugins/attachment_reminder/attachment_reminder.php
@@ -36,9 +36,11 @@
        $rcmail = rcube::get_instance();
        if ($rcmail->task == 'mail' && $rcmail->action == 'compose') {
            $this->include_script('attachment_reminder.js');
            $this->add_texts('localization/', array('keywords', 'forgotattachment'));
            $rcmail->output->add_label('addattachment', 'send');
            if ($rcmail->config->get('attachment_reminder')) {
                $this->include_script('attachment_reminder.js');
                $this->add_texts('localization/', array('keywords', 'forgotattachment'));
                $rcmail->output->add_label('addattachment', 'send');
            }
        }
        if ($rcmail->task == 'settings') {