Example #1
0
 public function sendNotificationIfUpdatesAvailable()
 {
     $updateCommunication = new UpdateCommunication();
     if ($updateCommunication->isEnabled()) {
         $updateCommunication->sendNotificationIfUpdatesAvailable();
     }
 }
Example #2
0
 public function sendNotificationIfUpdatesAvailable()
 {
     if ($this->updateCommunication->isEnabled()) {
         $this->updateCommunication->sendNotificationIfUpdatesAvailable();
     }
 }