diff --git a/appinfo/info.xml b/appinfo/info.xml index 6edf2a5..bf96d33 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ Groupfolder Filesystem Snapshots Allows restoring a groupfolder to a previous snapshot in the filesystem App proving a PHP API for other apps, that allows (partially) restoring a groupfolder to a previous snapshot in the filesystem. Requires a filesystem with snapshot support (tested with and made for ZFS). It is made for other apps to integrate with, IT DOES NOT WORK STANDALONE - 1.4.1 + 1.4.0 agpl verdigado eG Jonathan Treffler @@ -13,7 +13,7 @@ files https://git.verdigado.com/verdigado-public/nextcloud_groupfolder_filesystem_snapshots/issues - + pgsql sqlite mysql diff --git a/lib/Service/DiffTaskService.php b/lib/Service/DiffTaskService.php index 0f789ec..c4d7032 100644 --- a/lib/Service/DiffTaskService.php +++ b/lib/Service/DiffTaskService.php @@ -107,7 +107,7 @@ class DiffTaskService { ($progressCallback)([ "overallFiles" => $numFiles, "doneFiles" => $numDoneFiles, - "progress" => floor(($numDoneFiles / $numFiles) * 100) / 100, + "progress" => round(($numDoneFiles / $numFiles),2), ]); } },