[dev] [IMP] Fetchmail fix...

Marc Jauvin marc at register4less.com
Thu Feb 26 11:30:07 PST 2004


Attached is a patch to fix the fetchmail pref name.
Please, commit.

Thanks.

--
Marc Jauvin
http://register4less.com
450-441-5458
-------------- next part --------------
Index: fetchmail_login.php
===================================================================
RCS file: /repository/imp/lib/Maintenance/Task/fetchmail_login.php,v
retrieving revision 1.4
diff -u -r1.4 fetchmail_login.php
--- fetchmail_login.php 14 Feb 2004 20:00:38 -0000      1.4
+++ fetchmail_login.php 26 Feb 2004 19:28:31 -0000
@@ -34,7 +34,7 @@
     {
         /* If the user wants to fetch emails from other accounts on login,
          * go get those messages now. */
-        if ($GLOBALS['prefs']->getValue('accounts')) {
+        if ($GLOBALS['prefs']->getValue('fm_accounts')) {
             require_once IMP_BASE . '/lib/Fetchmail.php';
             $fm_account = &new IMP_Fetchmail_Account();
             $fm_list = array();
@@ -63,7 +63,7 @@
         $str  = _("You are about to fetch email from the following account(s):");
         $str .= "\n<blockquote>\n";

-        if ($GLOBALS['prefs']->getValue('accounts')) {
+        if ($GLOBALS['prefs']->getValue('fm_accounts')) {
             require_once IMP_BASE . '/lib/Fetchmail.php';
             $fm_account = &new IMP_Fetchmail_Account();
             foreach ($fm_account->getAll('loginfetch') as $id => $val) {


More information about the dev mailing list