Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
ef80cb27
Commit
ef80cb27
authored
Nov 23, 2019
by
IKEDA Soji
Browse files
tidyall.
parent
8d2761b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/DataSource/LDAP2.pm
View file @
ef80cb27
...
...
@@ -70,7 +70,7 @@ sub _load_next {
if
(
$options
{
turn
}
eq
'
first
')
{
return
$self
->
SUPER::
_load_next
(
%options
);
}
my
@retrieved
;
while
(
my
$value
=
shift
@
{
$self
->
{
_attr1values
}
||
[]
})
{
my
(
$escaped
,
$suffix
,
$filter
);
...
...
@@ -107,7 +107,7 @@ sub _load_next {
$self
->
{
_ds
}
=
$mesg
;
# hack __dsh()
my
@tmp_array
=
$self
->
SUPER::
_load_next
(
%options
);
@tmp_array
=
map
{
@
$_
}
@tmp_array
;
@tmp_array
=
map
{
@
$_
}
@tmp_array
;
push
@retrieved
,
@tmp_array
;
}
...
...
src/lib/Sympa/Spool/Outgoing.pm
View file @
ef80cb27
...
...
@@ -330,7 +330,7 @@ sub _get_recipient_tabs_by_domain {
@rcpt
=
map
{
join
'
@
',
grep
{
defined
$_
}
@$_
;
}
sort
{
((
$a
->
[
1
]
//
'')
cmp
(
$b
->
[
1
]
//
''))
||
(
$a
->
[
0
]
cmp
$b
->
[
0
])
((
$a
->
[
1
]
//
'')
cmp
(
$b
->
[
1
]
//
''))
||
(
$a
->
[
0
]
cmp
$b
->
[
0
])
}
map
{
[
split
/\@/
,
$_
,
2
]
}
@rcpt
;
...
...
t/compile_scenarios.t
View file @
ef80cb27
...
...
@@ -11,7 +11,7 @@ my @files = <default/scenari/*.*>;
foreach
my
$file
(
@files
)
{
open
my
$fh
,
'
<
',
$file
or
die
$ERRNO
;
my
$data
=
do
{
local
$RS
;
<
$fh
>
};
my
$data
=
do
{
local
$RS
;
<
$fh
>
};
close
$fh
;
my
$parsed
=
Sympa::Scenario::
compile
('
*
',
$data
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment