From d81ead20d18bd1ec22c84c18417a70d4a44b5aff Mon Sep 17 00:00:00 2001 From: Arun Philip Date: Sat, 11 Nov 2023 20:21:41 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/ChurchCRM/dto/Photo.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ChurchCRM/dto/Photo.php b/src/ChurchCRM/dto/Photo.php index 88e7a753e9..c823eb6833 100644 --- a/src/ChurchCRM/dto/Photo.php +++ b/src/ChurchCRM/dto/Photo.php @@ -62,6 +62,7 @@ private function shouldRefreshPhotoFile($photoFile): bool // default defined in SystemConfig.php $interval = \DateInterval::createFromDateString('72 hours'); + try { // if the system has remotes enabled, calculate the cutoff timestamp for refreshing remote photos. $remotePhotoCacheDuration = SystemConfig::getValue('iRemotePhotoCacheDuration');