From 02c528e54f0863c06dcfab4635d9b5eea4bb2ad4 Mon Sep 17 00:00:00 2001 From: Arun Philip Date: Sat, 11 Nov 2023 20:47: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 5ce15016d7..39af567df7 100644 --- a/src/ChurchCRM/dto/Photo.php +++ b/src/ChurchCRM/dto/Photo.php @@ -63,6 +63,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');