public function sendNotificationIfUpdatesAvailable() { $updateCommunication = new UpdateCommunication(); if ($updateCommunication->isEnabled()) { $updateCommunication->sendNotificationIfUpdatesAvailable(); } }
public function sendNotificationIfUpdatesAvailable() { if ($this->updateCommunication->isEnabled()) { $this->updateCommunication->sendNotificationIfUpdatesAvailable(); } }