#2524 autorespond 0.5.1 - cannot delete aliases + fix patch

Development CVS
closed-rejected
nobody
5
2007-10-24
2007-10-19
No

When a user set an alias in autorespond options, this alias cannot be deleted.

Here is a patch allowing user to delete alias:
--- plugins/autorespond/lib.php.old 2007-09-11 20:54:06.000000000 +0200
+++ plugins/autorespond/lib.php 2007-10-19 15:56:36.000000000 +0200
@@ -715,7 +715,11 @@
setPref($data_dir, $username, 'autorespond_aliases',
implode(', ', $aliases_pref));
}
- }
+ }
+ } else {
+ global $data_dir;
+ sqgetGlobalVar('username', $username, SQ_SESSION);
+ setPref($data_dir, $username, 'autorespond_aliases', '');
}

// if the vacation feature was enabled, recreate the vacation_file

Discussion

  • Jacek Kalinski

    Jacek Kalinski - 2007-10-19

    Logged In: YES
    user_id=1244386
    Originator: YES

    Ou - what a horrible format.
    Again a patch in an attachment.
    File Added: autorespond.patch

     
  • Jacek Kalinski

    Jacek Kalinski - 2007-10-19

    autorespond 0.5.1 patch

     
  • Paul Lesniewski

    Paul Lesniewski - 2007-10-24
    • status: open --> closed-rejected
     
  • Paul Lesniewski

    Paul Lesniewski - 2007-10-24

    Logged In: YES
    user_id=508228
    Originator: NO

    This tracker is not for 3rd party plugins. Please contact the plugin author directly and/or post to the squirrelmail-plugins mailing list. Thanks very much for your submission.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks