Commit a3f30bb6 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Refactoring.

parent 1dcc4430
This diff is collapsed.
......@@ -797,7 +797,13 @@ sub upgrade {
$list->{'name'}
);
unless ($list->update_list_member('*', {'subscribed' => 1})) {
my $sdm = Sympa::DatabaseManager->instance;
unless ($sdm and $sdm->do_prepared_query(
q{UPDATE subscriber_table
SET subscribed_subscriber = 1
WHERE list_subscriber = ? AND robot_subscriber = ?},
$list->{'name'}, $list->{'domain'}
)) {
$log->syslog('err',
'Failed to update subscribed DB field');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment