[Koha-bugs] [Bug 2434] Remove unimplemented upcoming events message

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 25 14:43:20 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2434

Jane Wagner <jwagner at ptfs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #6 from Jane Wagner <jwagner at ptfs.com>  ---
The line for Upcoming Events still is gone in patron category messaging setup,
but still shows in staff mode on individual patron records, and in the OPAC My
Messaging tab. Those need to be removed as well.  It seems to be getting the
line from C4/Form/MessagingPreferences.pm, which is looking at the
message_transports table:

        foreach my $transport ( @{$pref->{'transports'}} ) {
            $option->{'transport-'.$transport} = 'checked="checked"';
        }
        $option->{'digest'} = 'checked="checked"' if $pref->{'wants_digest'};
    }
    $template->param(messaging_preferences => $messaging_options);

So does this mean that each site must remove that line from the transports
table to get rid of it?  Is this something that could be scripted as a patch?

On my 3.2 test server, as delivered there are two lines in that table that seem
to be relevant:

message_attribute_id    message_transport_type    is_digest    letter_module   
letter_code
3    email    0    circulation    EVENT
3    sms    0    circulation    EVENT


It looks like the EVENT notice file should also be removed.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list