From e3ea84d048809318a90f3cb16341e67093090a0a Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Wed, 22 Jun 2011 19:17:31 -0400 Subject: [PATCH] Changed ctime for the shared folder to the earliest ctime --- apps/files_sharing/sharedstorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index feb5d0057d..269ede7422 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -197,7 +197,7 @@ class OC_FILESTORAGE_SHARED { $dir = OC_FILESTORAGE_SHARED::opendir($path); while (($filename = readdir($dir)) != false) { $tempctime = OC_FILESTORAGE_SHARED::filectime($filename); - if ($tempctime > $ctime) { + if ($tempctime < $ctime) { $ctime = $tempctime; } }