From 5304afbecb37b841312e35594ef8cba403a4cd8c Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Mon, 27 Apr 2015 15:18:13 +0200
Subject: [PATCH] dont pass floats as timestamp to the changepropagator

---
 apps/files_sharing/lib/propagation/recipientpropagator.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/lib/propagation/recipientpropagator.php b/apps/files_sharing/lib/propagation/recipientpropagator.php
index 9c9fe2bedbf..5b7651f2ce7 100644
--- a/apps/files_sharing/lib/propagation/recipientpropagator.php
+++ b/apps/files_sharing/lib/propagation/recipientpropagator.php
@@ -60,7 +60,7 @@ class RecipientPropagator {
 		}
 		if (count($dirtyShares)) {
 			$this->config->setUserValue($this->userId, 'files_sharing', 'last_propagate', $time);
-			$this->changePropagator->propagateChanges($time);
+			$this->changePropagator->propagateChanges(floor($time));
 		}
 	}
 
-- 
GitLab