From 893894f97b3ce4289285caacc782dbb5833058eb Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 25 Aug 2016 14:39:19 +0100 Subject: [PATCH] Get data via new function --- lib/settings-common.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/settings-common.php b/lib/settings-common.php index 1d683fd..bd401c6 100644 --- a/lib/settings-common.php +++ b/lib/settings-common.php @@ -260,6 +260,7 @@ function getVersionsCount($fileLoc,$fileName) { $backupIndex = $backupDirBase.$backupDirHost."/".$backupDateDirs[$i]."/.versions-index"; // Have a .versions-index file? Get contents if (file_exists($backupIndex) && is_readable($backupIndex)) { + $versionsInfo = getData($backupIndex); $versionsInfo = explode("\n",$versionsInfo); // For each line, check if it's our file and if so, add the count to our $count value and $dateCount array for ($j=0; $j