/[smecontribs]/rpms/ezmlm-web/contribs8/ezmlm-web-3.3.1-cgi.patch
ViewVC logotype

Contents of /rpms/ezmlm-web/contribs8/ezmlm-web-3.3.1-cgi.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Apr 21 04:35:53 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: ezmlm-web-3_3_1-5_el5_sme, HEAD
Changes since 1.1: +1 -1 lines
* Thu Apr 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-5.sme
- remove non available options (always on) in ezmlm-idx 7.2.2 [SME: 9470]
- remove setting user access to web, as unecessary in SME
- patch ezmlm-web-3.3.1-modiffor722.patch

1 --- ezmlm-web-3.3.1/ezmlm-web.cgi.ori 2016-04-18 23:46:09.000000000 -0400
2 +++ ezmlm-web-3.3.1/ezmlm-web.cgi 2016-04-20 05:03:33.000000000 -0400
3 @@ -2064,7 +2064,10 @@
4 if (defined($q->param("setting_state_$i"))) {
5 $options .= " -$i '" . $q->param("setting_value_$i") . "'";
6 } else {
7 - if ($i != 5) {
8 + if ($i == 3) {
9 + unlink("$LIST_DIR/$listname/fromheader");
10 + }
11 + elsif ($i != 5) {
12 # everything except for the "owner" attribute:
13 # do not set the value to an empty string,
14 # as ezmlm-idx 5.0 does not work correctly for this case
15 @@ -2427,7 +2430,7 @@
16 if (defined($q->param('option_t'))) {
17 # TODO: the trailer _must_ be followed by a newline
18 #$list->set_text_content('trailer', $q->param('trailing_text'));
19 - $list->set_text_content('trailer', $list->get_text_default_content('trailer'))
20 + $list->set_text_content('trailer', $list->get_text_content('trailer'))
21 unless (-e "$list->{'LIST_NAME'}/text/trailer");
22 } else {
23 # ezmlm-make automatically removes this file

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed