File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
interface EmailUserInterface {
9
- public function email ($ node , $ config );
9
+ public function email ($ node , $ transition_name );
10
10
}
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ class RoleUserType extends UserType implements EmailUserInterface {
14
14
parent ::__construct ($ user_label );
15
15
}
16
16
17
- private function createEmails ($ config ) {
17
+ private function createEmails ($ transition_name ) {
18
18
$ users = $ this ->loadUsers ($ this ->rid );
19
19
$ emails = array ();
20
20
21
21
foreach ($ users as $ user_object ) {
22
- $ emails [] = $ this ->buildEmail ($ user_object , $ config );
22
+ $ emails [] = $ this ->buildEmail ($ user_object , $ transition_name );
23
23
}
24
24
25
25
return $ emails ;
@@ -32,8 +32,8 @@ class RoleUserType extends UserType implements EmailUserInterface {
32
32
return $ users ;
33
33
}
34
34
35
- public function email ($ node , $ config ) {
35
+ public function email ($ node , $ transition_name ) {
36
36
// TODO check user has permission against node ?
37
- return $ this ->create_emails ($ config );
37
+ return $ this ->create_emails ($ transition_name );
38
38
}
39
39
}
You can’t perform that action at this time.
0 commit comments