Skip to content

Commit efc1d62

Browse files
authored
Merge pull request ChurchCRM#1277 from ChurchCRM/2.3.1-fix-1276
fix ChurchCRM#1276
2 parents 277a735 + 4828b78 commit efc1d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/SystemService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function runTimerJobs()
375375
$diff = $previous->diff($now); // calculate the difference.
376376
if (!$sLastBackupTimeStamp || $diff->h >= $sExternalBackupAutoInterval) // if there was no previous backup, or if the interval suggests we do a backup now.
377377
{
378-
$systemService->copyBackupToExternalStorage(); // Tell system service to do an external storage backup.
378+
$this->copyBackupToExternalStorage(); // Tell system service to do an external storage backup.
379379
$now = new \DateTime(); // update the LastBackupTimeStamp.
380380
$sSQL = "UPDATE config_cfg SET cfg_value='" . $now->format('Y-m-d H:i:s') . "' WHERE cfg_name='sLastBackupTimeStamp'";
381381
$rsUpdate = RunQuery($sSQL);

0 commit comments

Comments
 (0)