Skip to content

Commit 95aa90d

Browse files
committed
Merge branch '7.x-1.x'
2 parents c2703a0 + d5ef518 commit 95aa90d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

includes/classes/EmailUserInterface.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
*/
77

88
interface EmailUserInterface {
9-
public function email($node, $config);
9+
public function email($node, $transition_name);
1010
}

includes/classes/RoleUserType.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ class RoleUserType extends UserType implements EmailUserInterface {
1414
parent::__construct($user_label);
1515
}
1616

17-
private function createEmails($config) {
17+
private function createEmails($transition_name) {
1818
$users = $this->loadUsers($this->rid);
1919
$emails = array();
2020

2121
foreach ($users as $user_object) {
22-
$emails[] = $this->buildEmail($user_object, $config);
22+
$emails[] = $this->buildEmail($user_object, $transition_name);
2323
}
2424

2525
return $emails;
@@ -32,8 +32,8 @@ class RoleUserType extends UserType implements EmailUserInterface {
3232
return $users;
3333
}
3434

35-
public function email($node, $config) {
35+
public function email($node, $transition_name) {
3636
// TODO check user has permission against node ?
37-
return $this->create_emails($config);
37+
return $this->create_emails($transition_name);
3838
}
3939
}

0 commit comments

Comments
 (0)