diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-09 16:02:53 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-10 08:40:45 +0100 |
commit | a4a7cf40a1f8e174d2a45fbf791db2bcada5ce68 (patch) | |
tree | d9b552b05569d4ef19a2ece202a7c55691b18774 /apps/files_sharing/api | |
parent | 3ff88c8c84d887c36a5b6587c402bd627bcffdd6 (diff) | |
download | nextcloud-server-a4a7cf40a1f8e174d2a45fbf791db2bcada5ce68.tar.gz nextcloud-server-a4a7cf40a1f8e174d2a45fbf791db2bcada5ce68.zip |
Fix the notification API usage
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r-- | apps/files_sharing/api/server2server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/api/server2server.php b/apps/files_sharing/api/server2server.php index f15169b74a2..c183c91b5fa 100644 --- a/apps/files_sharing/api/server2server.php +++ b/apps/files_sharing/api/server2server.php @@ -94,7 +94,7 @@ class Server2Server { $notification = $notificationManager->createNotification(); $notification->setApp('files_sharing') ->setUser($shareWith) - ->setTimestamp(time()) + ->setDateTime(new \DateTime()) ->setObject('remote_share', $remoteId) ->setSubject('remote_share', [$user, trim($name, '/')]); |