Completed
Push — master ( 8bb5be...e9c93c )
by Bart
08:17
created
Category
services/DraftNotificationsService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $email->body = $mailBody;
32 32
         $email->htmlBody = nl2br($mailBody);
33 33
 
34
-        foreach($recipients as $recipient){
34
+        foreach ($recipients as $recipient) {
35 35
             $email->toEmail = $recipient->email;
36 36
             craft()->email->sendEmail($email);
37 37
         }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     private function getNotificationRecipients()
99 99
     {
100 100
         $userGroupHandles = craft()->plugins->getPlugin('draftNotifications')->getSettings()->userGroups;
101
-        if(empty($userGroupHandles)){
101
+        if (empty($userGroupHandles)) {
102 102
             return [];
103 103
         }
104 104
 
Please login to merge, or discard this patch.