Loading mailhandler.install +2 −2 Changes for mailhandler.install: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ function mailhandler_update_7201() { $ret = array(); $result = db_query('SELECT * FROM {mailhandler_mailbox}'); // For each mailbox, convert mail to alphanumeric, and move existing value into settings while ($row = db_fetch_array($result)) { while ($row = $result->fetchAssoc()) { $row['settings'] = unserialize($row['settings']); $row['settings']['mail'] = $row['mail']; $row['mail'] = mailhandler_alphanumeric($row['mail']); Loading @@ -58,7 +58,7 @@ function mailhandler_update_7201() { } $result = db_query('SELECT * FROM {feeds_source}'); // For existing feed sources, need to convert selected mailboxes to alphanumeric while ($row = db_fetch_array($result)) { while ($row = $result->fetchAssoc()) { $row['config'] = unserialize($row['config']); if (isset($row['config']['MailhandlerFetcher']['mailbox'])) { $row['config']['MailhandlerFetcher']['mailbox'] = mailhandler_alphanumeric($row['config']['MailhandlerFetcher']['mailbox']); Loading Loading
mailhandler.install +2 −2 Changes for mailhandler.install: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ function mailhandler_update_7201() { $ret = array(); $result = db_query('SELECT * FROM {mailhandler_mailbox}'); // For each mailbox, convert mail to alphanumeric, and move existing value into settings while ($row = db_fetch_array($result)) { while ($row = $result->fetchAssoc()) { $row['settings'] = unserialize($row['settings']); $row['settings']['mail'] = $row['mail']; $row['mail'] = mailhandler_alphanumeric($row['mail']); Loading @@ -58,7 +58,7 @@ function mailhandler_update_7201() { } $result = db_query('SELECT * FROM {feeds_source}'); // For existing feed sources, need to convert selected mailboxes to alphanumeric while ($row = db_fetch_array($result)) { while ($row = $result->fetchAssoc()) { $row['config'] = unserialize($row['config']); if (isset($row['config']['MailhandlerFetcher']['mailbox'])) { $row['config']['MailhandlerFetcher']['mailbox'] = mailhandler_alphanumeric($row['config']['MailhandlerFetcher']['mailbox']); Loading