Commit 736a7052 authored by kclair's avatar kclair
Browse files

patch file for the rename list fix

parent 4e277c8e
diff --git a/sympa-6.1.9-src/src/lib/admin.pm b/sympa-6.1.9-src/src/lib/admin.pm
index 1397fa3..b9460f3 100644
--- a/sympa-6.1.9-src/src/lib/admin.pm
+++ b/sympa-6.1.9-src/src/lib/admin.pm
@@ -778,16 +778,16 @@ sub rename_list{
}
# set list status to pending if creation list is moderated
- if ($r_action =~ /listmaster/) {
- $list->{'admin'}{'status'} = 'pending' ;
- &List::send_notify_to_listmaster('request_list_renaming',$list->{'domain'},
- {'list' => $list,
- 'new_listname' => $param{'new_listname'},
- 'old_listname' => $old_listname,
- 'email' => $param{'user_email'},
- 'mode' => $param{'mode'}});
- $param{'status'} = 'pending';
- }
+# if ($r_action =~ /listmaster/) {
+# $list->{'admin'}{'status'} = 'pending' ;
+# &List::send_notify_to_listmaster('request_list_renaming',$list->{'domain'},
+# {'list' => $list,
+# 'new_listname' => $param{'new_listname'},
+# 'old_listname' => $old_listname,
+# 'email' => $param{'user_email'},
+# 'mode' => $param{'mode'}});
+# $param{'status'} = 'pending';
+# }
## Save config file for the new() later to reload it
$list->save_config($param{'user_email'});
diff --git a/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in b/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in
index b47a9e8..a8fb952 100644
--- a/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in
+++ b/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in
@@ -10259,6 +10259,7 @@ sub do_rename_list {
remote_addr => $param->{'remote_addr'},
aliases => $param->{'aliases'},
status => $param->{'status'},
+ skip_authz => 1,
);
if ($result eq 'incorrect_listname') {
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